Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001866/0.001866, allocations: 218.5 kB / 23.04 MB, free: 5.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.426/1.426, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9048/0.9048, allocations: 134 MB / 447.2 MB, free: 10.2 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 56.62 kB / 0.6193 GB, free: 7.184 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1787, allocations: 85.91 MB / 0.7032 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.6043/0.783, allocations: 171 MB / 0.8702 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.002997/0.786, allocations: 1.559 MB / 0.8717 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002679/0.7863, allocations: 19.81 kB / 0.8717 GB, free: 10 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005025/0.7868, allocations: 158.8 kB / 0.8719 GB, free: 9.848 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001855/0.7886, allocations: 0.7352 MB / 0.8726 GB, free: 9.109 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001565/0.7902, allocations: 0.6277 MB / 0.8732 GB, free: 8.484 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001028/0.7912, allocations: 0.7207 MB / 0.8739 GB, free: 7.762 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003844/0.7916, allocations: 185.3 kB / 0.8741 GB, free: 7.582 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000655/0.7923, allocations: 350.8 kB / 0.8744 GB, free: 7.238 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000342/0.7926, allocations: 235 kB / 0.8747 GB, free: 7.008 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.515e-05/0.7927, allocations: 24 kB / 0.8747 GB, free: 6.984 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001609/0.7943, allocations: 0.9507 MB / 0.8756 GB, free: 6.031 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.7944, allocations: 107.7 kB / 0.8757 GB, free: 5.926 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001768/0.7946, allocations: 167.2 kB / 0.8759 GB, free: 5.762 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001153/0.7957, allocations: 0.734 MB / 0.8766 GB, free: 5.035 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.7957, allocations: 0 / 0.8766 GB, free: 5.035 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.754e-06/0.7957, allocations: 0 / 0.8766 GB, free: 5.035 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.824e-06/0.7957, allocations: 4 kB / 0.8766 GB, free: 5.031 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.00108/0.7968, allocations: 0.5862 MB / 0.8772 GB, free: 4.414 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.7969, allocations: 8.031 kB / 0.8772 GB, free: 4.406 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.176e-05/0.7969, allocations: 8.438 kB / 0.8772 GB, free: 4.398 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.288e-05/0.797, allocations: 54.53 kB / 0.8772 GB, free: 4.336 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001169/0.7981, allocations: 155.6 kB / 0.8774 GB, free: 4.184 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005835/0.7987, allocations: 264 kB / 0.8776 GB, free: 3.898 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.7987, allocations: 24.38 kB / 0.8777 GB, free: 3.879 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.965e-05/0.7988, allocations: 27.94 kB / 0.8777 GB, free: 3.852 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004982/0.7993, allocations: 275.4 kB / 0.8779 GB, free: 3.559 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.7993, allocations: 4 kB / 0.8779 GB, free: 3.555 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.258e-05/0.7993, allocations: 8 kB / 0.878 GB, free: 3.547 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.809e-05/0.7993, allocations: 8 kB / 0.878 GB, free: 3.539 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004233/0.7998, allocations: 199.8 kB / 0.8782 GB, free: 3.344 MB / 0.6387 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001479/0.8012, allocations: 1.172 MB / 0.8793 GB, free: 2.074 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002955/0.8015, allocations: 134.4 kB / 0.8794 GB, free: 1.934 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/0.8017, allocations: 84.8 kB / 0.8795 GB, free: 1.848 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004533/0.8022, allocations: 79.86 kB / 0.8796 GB, free: 1.77 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.8022, allocations: 30.56 kB / 0.8796 GB, free: 1.73 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=15): time 1.212e-06/0.8022, allocations: 4 kB / 0.8796 GB, free: 1.727 MB / 0.6387 GB Notification: Performance of matching and sorting (n=15): time 0.0007703/0.803, allocations: 286.8 kB / 0.8799 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.803, allocations: 55.41 kB / 0.8799 GB, free: 1.375 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003368/0.8033, allocations: 312.5 kB / 0.8802 GB, free: 1.066 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.8034, allocations: 29.7 kB / 0.8803 GB, free: 1.031 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.8035, allocations: 184.2 kB / 0.8804 GB, free: 0.8477 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.85e-05/0.8036, allocations: 55.48 kB / 0.8805 GB, free: 0.793 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.337e-05/0.8037, allocations: 45.7 kB / 0.8805 GB, free: 0.7422 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001879/0.8038, allocations: 342.8 kB / 0.8809 GB, free: 408 kB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/0.804, allocations: 63.89 kB / 0.8809 GB, free: 344 kB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002797/0.8043, allocations: 125.6 kB / 0.881 GB, free: 200 kB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003734/0.8047, allocations: 182.5 kB / 0.8812 GB, free: 0 / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.256e-05/0.8047, allocations: 4.047 kB / 0.8812 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004737/0.8052, allocations: 233.2 kB / 0.8814 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.8052, allocations: 8.094 kB / 0.8815 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.8052, allocations: 7.938 kB / 0.8815 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.8052, allocations: 0 / 0.8815 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001974/0.8054, allocations: 43.97 kB / 0.8815 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.8054, allocations: 4 kB / 0.8815 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001964/0.8056, allocations: 31.77 kB / 0.8815 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/0.8056, allocations: 11.94 kB / 0.8815 GB, free: 15.66 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001749/0.8058, allocations: 153.7 kB / 0.8817 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.433e-05/0.8059, allocations: 31.95 kB / 0.8817 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004894/0.8063, allocations: 224 kB / 0.8819 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.8063, allocations: 4 kB / 0.8819 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.8064, allocations: 0 / 0.8819 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.627e-06/0.8064, allocations: 7.922 kB / 0.882 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.8074, allocations: 0.6591 MB / 0.8826 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.8074, allocations: 0 / 0.8826 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001652/0.8076, allocations: 35.92 kB / 0.8826 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.8076, allocations: 4.219 kB / 0.8826 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.8076, allocations: 8 kB / 0.8826 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.8076, allocations: 1.688 kB / 0.8826 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.8076, allocations: 4 kB / 0.8826 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000683/0.8083, allocations: 441 kB / 0.8831 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.474e-05/0.8084, allocations: 43.8 kB / 0.8831 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.392e-05/0.8085, allocations: 7.984 kB / 0.8831 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.8086, allocations: 8 kB / 0.8831 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.362e-05/0.8087, allocations: 20.03 kB / 0.8831 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.8087, allocations: 8 kB / 0.8832 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002423/0.8089, allocations: 219.1 kB / 0.8834 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.8089, allocations: 4 kB / 0.8834 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003989/0.8093, allocations: 87.73 kB / 0.8834 GB, free: 13.59 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001162/0.8105, allocations: 1.013 MB / 0.8844 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004336/0.8109, allocations: 170.3 kB / 0.8846 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.8109, allocations: 0 / 0.8846 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001884/0.8111, allocations: 84.08 kB / 0.8847 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008832/0.812, allocations: 162 kB / 0.8848 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004011/0.816, allocations: 2.905 MB / 0.8877 GB, free: 9.082 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004597/0.8165, allocations: 0.7756 MB / 0.8884 GB, free: 8.281 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002319/0.8167, allocations: 66.92 kB / 0.8885 GB, free: 8.211 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001941/0.8169, allocations: 91.41 kB / 0.8886 GB, free: 8.121 MB / 0.6544 GB Notification: Performance of SimCode: time 8.01e-07/0.8169, allocations: 0 / 0.8886 GB, free: 8.121 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03361/0.8505, allocations: 9.078 MB / 0.8974 GB, free: 15.28 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/12.27, allocations: 10.22 kB / 0.8975 GB, free: 15.27 MB / 0.67 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.997685478068888] Failed to read output from testmodel.py, exit status != 0: 12.434798155911267 12.451979375 11.652939124 Calling exit ...