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.0008521/0.0008521, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0007649/0.0007649, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.9115/0.9115, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.6996/0.6996, allocations: 154.6 MB / 414.5 MB, free: 0.7852 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: translateModel(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.6194 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.001e-05/2.175e-05, allocations: 2.281 kB / 0.6194 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.4065/0.4065, allocations: 147.6 MB / 0.7635 GB, free: 8.277 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001833/0.4084, allocations: 1.493 MB / 0.7649 GB, free: 7.262 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001701/0.4085, allocations: 15.91 kB / 0.7649 GB, free: 7.254 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0003942/0.4089, allocations: 155.9 kB / 0.7651 GB, free: 7.152 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00116/0.4101, allocations: 0.7182 MB / 0.7658 GB, free: 6.773 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009676/0.4111, allocations: 0.6796 MB / 0.7665 GB, free: 6.441 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0005231/0.4116, allocations: 0.7057 MB / 0.7671 GB, free: 6.113 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002604/0.4118, allocations: 192.1 kB / 0.7673 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007232/0.4126, allocations: 0.5884 MB / 0.7679 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002011/0.4128, allocations: 186.3 kB / 0.7681 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.296e-05/0.4128, allocations: 26.91 kB / 0.7681 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007346/0.4135, allocations: 0.719 MB / 0.7688 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.4136, allocations: 107.5 kB / 0.7689 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.851e-05/0.4137, allocations: 120 kB / 0.769 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0007431/0.4145, allocations: 0.7287 MB / 0.7697 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.4145, allocations: 1.734 kB / 0.7697 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4145, allocations: 0 / 0.7697 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.73e-06/0.4145, allocations: 0 / 0.7697 GB, free: 5.113 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.0006318/0.4151, allocations: 0.5847 MB / 0.7703 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.4151, allocations: 9.125 kB / 0.7703 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006099/0.4158, allocations: 159.9 kB / 0.7705 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003581/0.4161, allocations: 260.5 kB / 0.7707 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.4161, allocations: 16.94 kB / 0.7707 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.57e-05/0.4162, allocations: 27.59 kB / 0.7708 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003163/0.4165, allocations: 270.2 kB / 0.771 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.4165, allocations: 0 / 0.771 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.4165, allocations: 11.09 kB / 0.771 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.4165, allocations: 11.06 kB / 0.771 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002571/0.4168, allocations: 194.3 kB / 0.7712 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007597/0.4175, allocations: 0.9253 MB / 0.7721 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.4177, allocations: 124.6 kB / 0.7722 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.4178, allocations: 87.06 kB / 0.7723 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002428/0.4181, allocations: 74.94 kB / 0.7724 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.618e-05/0.4181, allocations: 36.8 kB / 0.7724 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 1.132e-06/0.4181, allocations: 3.938 kB / 0.7724 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0004519/0.4185, allocations: 276.8 kB / 0.7727 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.024e-05/0.4186, allocations: 57.22 kB / 0.7728 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.4187, allocations: 246.1 kB / 0.773 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.4187, allocations: 31.55 kB / 0.773 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.579e-05/0.4188, allocations: 189.3 kB / 0.7732 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.4188, allocations: 54 kB / 0.7733 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.977e-05/0.4189, allocations: 45.52 kB / 0.7733 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.704e-05/0.4189, allocations: 332.6 kB / 0.7736 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.434e-05/0.419, allocations: 63.59 kB / 0.7737 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.4192, allocations: 205.4 kB / 0.7739 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002073/0.4194, allocations: 190.3 kB / 0.7741 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.4194, allocations: 0 / 0.7741 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002687/0.4196, allocations: 243.1 kB / 0.7743 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.4196, allocations: 6.094 kB / 0.7743 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.4196, allocations: 2.312 kB / 0.7743 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.4197, allocations: 3.125 kB / 0.7743 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.4198, allocations: 42.36 kB / 0.7743 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.4198, allocations: 2.422 kB / 0.7743 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.464e-05/0.4199, allocations: 28.98 kB / 0.7744 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.4199, allocations: 11.3 kB / 0.7744 GB, free: 2.031 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 8.551e-05/0.42, allocations: 153.8 kB / 0.7745 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.42, allocations: 28.11 kB / 0.7746 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002753/0.4203, allocations: 209.5 kB / 0.7748 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.123e-06/0.4203, allocations: 1.375 kB / 0.7748 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.4203, allocations: 2.25 kB / 0.7748 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.4203, allocations: 0.9375 kB / 0.7748 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005781/0.4209, allocations: 0.609 MB / 0.7754 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.4209, allocations: 2.312 kB / 0.7754 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.398e-05/0.421, allocations: 32.92 kB / 0.7754 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.421, allocations: 3.781 kB / 0.7754 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.421, allocations: 8.25 kB / 0.7754 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.421, allocations: 2.312 kB / 0.7754 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.421, allocations: 6.656 kB / 0.7754 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000368/0.4213, allocations: 424.5 kB / 0.7758 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.971e-05/0.4214, allocations: 42.97 kB / 0.7759 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.4214, allocations: 4.125 kB / 0.7759 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.648e-05/0.4215, allocations: 11.45 kB / 0.7759 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/0.4215, allocations: 19.88 kB / 0.7759 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.4215, allocations: 5.844 kB / 0.7759 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001078/0.4217, allocations: 178.6 kB / 0.7761 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4217, allocations: 4.062 kB / 0.7761 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002484/0.4219, allocations: 87.91 kB / 0.7761 GB, free: 0.9258 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.0002064/0.4221, allocations: 153.5 kB / 0.7763 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002677/0.4224, allocations: 164.2 kB / 0.7765 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4224, allocations: 1.5 kB / 0.7765 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.4225, allocations: 85.69 kB / 0.7765 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004365/0.4229, allocations: 122.8 kB / 0.7767 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006092/0.4235, allocations: 0.5869 MB / 0.7772 GB, free: 300 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.4237, allocations: 168.6 kB / 0.7774 GB, free: 216 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.004e-05/0.4237, allocations: 24.72 kB / 0.7774 GB, free: 208 kB / 0.6355 GB Notification: Performance of SimCode: time 5.01e-07/0.4237, allocations: 0 / 0.7774 GB, free: 208 kB / 0.6355 GB Notification: Performance of Templates: time 0.005473/0.4292, allocations: 4.372 MB / 0.7817 GB, free: 15.78 MB / 0.6511 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.443092246539891] Failed to read output from testmodel.py, exit status != 0: 0.43532298877835274 0.443445104 0.027418656000000003 Calling exit ...