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.0007531/0.0007531, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0007595/0.0007595, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 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 0.9075/0.9075, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7109/0.7109, allocations: 154.6 MB / 413.7 MB, free: 0.8086 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.404e-06/2.404e-06, allocations: 3.938 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.934e-05/3.174e-05, allocations: 5.094 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.4464/0.4464, allocations: 147.6 MB / 0.7622 GB, free: 8.258 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.00245/0.4489, allocations: 1.487 MB / 0.7637 GB, free: 7.25 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004702/0.4493, allocations: 15.44 kB / 0.7637 GB, free: 7.242 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005042/0.4498, allocations: 152.2 kB / 0.7639 GB, free: 7.145 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001797/0.4516, allocations: 0.7154 MB / 0.7646 GB, free: 6.77 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001815/0.4535, allocations: 0.6857 MB / 0.7652 GB, free: 6.43 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00106/0.4545, allocations: 0.7066 MB / 0.7659 GB, free: 6.102 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003792/0.4549, allocations: 179.7 kB / 0.7661 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00121/0.4561, allocations: 0.5883 MB / 0.7667 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002554/0.4564, allocations: 190.7 kB / 0.7668 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.179e-05/0.4564, allocations: 22.06 kB / 0.7669 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001592/0.458, allocations: 0.7255 MB / 0.7676 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001537/0.4581, allocations: 111.2 kB / 0.7677 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.4583, allocations: 116.4 kB / 0.7678 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001312/0.4596, allocations: 0.7331 MB / 0.7685 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4596, allocations: 1.25 kB / 0.7685 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.084e-06/0.4596, allocations: 0 / 0.7685 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.383e-06/0.4596, allocations: 0 / 0.7685 GB, free: 5.102 MB / 0.6355 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.0008214/0.4604, allocations: 0.5846 MB / 0.7691 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.4605, allocations: 9.531 kB / 0.7691 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.584e-05/0.4605, allocations: 56.23 kB / 0.7691 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007142/0.4612, allocations: 154.7 kB / 0.7693 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004504/0.4617, allocations: 259.6 kB / 0.7695 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.4617, allocations: 17.34 kB / 0.7695 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.355e-05/0.4617, allocations: 28.42 kB / 0.7696 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003988/0.4621, allocations: 277.2 kB / 0.7698 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.4621, allocations: 1.719 kB / 0.7698 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.4622, allocations: 9.031 kB / 0.7698 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.4622, allocations: 9.375 kB / 0.7699 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000291/0.4625, allocations: 191.3 kB / 0.77 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/0.4635, allocations: 0.9795 MB / 0.771 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002321/0.4637, allocations: 131.3 kB / 0.7711 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.4638, allocations: 83.61 kB / 0.7712 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000329/0.4642, allocations: 74.67 kB / 0.7713 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.4642, allocations: 33.38 kB / 0.7713 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 2.645e-06/0.4642, allocations: 3.094 kB / 0.7713 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0005646/0.4648, allocations: 287.5 kB / 0.7716 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.689e-05/0.4648, allocations: 54.72 kB / 0.7716 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002717/0.4651, allocations: 319.8 kB / 0.7719 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.4651, allocations: 34.92 kB / 0.772 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.327e-05/0.4652, allocations: 182.9 kB / 0.7721 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.299e-05/0.4652, allocations: 59.66 kB / 0.7722 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.143e-05/0.4653, allocations: 50.44 kB / 0.7723 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.917e-05/0.4653, allocations: 338.2 kB / 0.7726 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.4654, allocations: 64.53 kB / 0.7726 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.4656, allocations: 196.4 kB / 0.7728 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002511/0.4658, allocations: 198.8 kB / 0.773 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.4658, allocations: 1.375 kB / 0.773 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000342/0.4662, allocations: 238 kB / 0.7732 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.4662, allocations: 5.078 kB / 0.7732 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.4662, allocations: 1.594 kB / 0.7732 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.4662, allocations: 8.094 kB / 0.7733 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.4664, allocations: 45.98 kB / 0.7733 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.4664, allocations: 2.422 kB / 0.7733 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/0.4665, allocations: 33.94 kB / 0.7733 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.499e-05/0.4665, allocations: 7.594 kB / 0.7733 GB, free: 1.895 MB / 0.6355 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.0001027/0.4666, allocations: 145.8 kB / 0.7735 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.561e-05/0.4667, allocations: 34.47 kB / 0.7735 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003312/0.467, allocations: 224.9 kB / 0.7737 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.467, allocations: 2.359 kB / 0.7737 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.467, allocations: 0 / 0.7737 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.467, allocations: 2.422 kB / 0.7737 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007374/0.4678, allocations: 0.628 MB / 0.7743 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.4678, allocations: 6.875 kB / 0.7744 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.4679, allocations: 33.59 kB / 0.7744 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.4679, allocations: 3.312 kB / 0.7744 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.4679, allocations: 7.469 kB / 0.7744 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.4679, allocations: 3.453 kB / 0.7744 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.4679, allocations: 9.75 kB / 0.7744 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004446/0.4684, allocations: 430.5 kB / 0.7748 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.606e-05/0.4684, allocations: 45.38 kB / 0.7749 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.091e-05/0.4685, allocations: 4 kB / 0.7749 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.197e-05/0.4686, allocations: 12.42 kB / 0.7749 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.528e-05/0.4686, allocations: 18.84 kB / 0.7749 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.779e-06/0.4686, allocations: 6.031 kB / 0.7749 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001749/0.4688, allocations: 230.2 kB / 0.7751 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4688, allocations: 0 / 0.7751 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003698/0.4692, allocations: 83.38 kB / 0.7752 GB, free: 0.7383 MB / 0.6355 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.0008492/0.47, allocations: 1.009 MB / 0.7762 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003618/0.4704, allocations: 164.3 kB / 0.7763 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.4704, allocations: 192 / 0.7763 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.4705, allocations: 87.19 kB / 0.7764 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006486/0.4712, allocations: 176.1 kB / 0.7766 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003066/0.4742, allocations: 2.887 MB / 0.7794 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001386/0.4744, allocations: 177.5 kB / 0.7796 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002378/0.4746, allocations: 58.78 kB / 0.7796 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.4747, allocations: 84.59 kB / 0.7797 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of SimCode: time 1.823e-06/0.4747, allocations: 4 kB / 0.7797 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02963/0.5043, allocations: 10.08 MB / 0.7896 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.09/7.594, allocations: 5.766 kB / 0.7896 GB, free: 11.48 MB / 0.6511 GB " [Timeout remaining time 652] (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: 10.2983741434291] Failed to read output from testmodel.py, exit status != 0: 7.678886447101831 7.688919361 7.227411931 Calling exit ...