Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter.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.001012/0.001012, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001227/0.001227, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9144/0.9144, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.7251/0.7251, allocations: 154.6 MB / 413.8 MB, free: 0.7773 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.HeatMeter,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.856e-05/1.99e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.HeatMeter): time 0.01548/0.0155, allocations: 21.48 MB / 0.6391 GB, free: 8.082 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.006161/0.02166, allocations: 4.763 MB / 0.6437 GB, free: 3.305 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005764/0.02224, allocations: 43.56 kB / 0.6438 GB, free: 3.262 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006609/0.0229, allocations: 281.9 kB / 0.6441 GB, free: 2.984 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001525/0.02442, allocations: 0.8507 MB / 0.6449 GB, free: 2.129 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001494/0.02592, allocations: 0.8351 MB / 0.6457 GB, free: 1.301 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002227/0.02815, allocations: 1.652 MB / 0.6473 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007454/0.02889, allocations: 390 kB / 0.6477 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001666/0.03056, allocations: 0.9294 MB / 0.6486 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006136/0.03117, allocations: 402.7 kB / 0.649 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.666e-05/0.03125, allocations: 48 kB / 0.649 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009114/0.03216, allocations: 418.9 kB / 0.6494 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.03229, allocations: 155.4 kB / 0.6496 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001885/0.03248, allocations: 211.5 kB / 0.6498 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.03358, allocations: 0.9542 MB / 0.6507 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.03359, allocations: 0 / 0.6507 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.114e-06/0.03359, allocations: 0 / 0.6507 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.909e-06/0.0336, allocations: 0 / 0.6507 GB, free: 12.16 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001145/0.03474, allocations: 0.8276 MB / 0.6515 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.03479, allocations: 8.031 kB / 0.6515 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.354e-05/0.03487, allocations: 82.72 kB / 0.6516 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001946/0.03506, allocations: 72.5 kB / 0.6517 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000776/0.03584, allocations: 0.503 MB / 0.6522 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.074e-05/0.03587, allocations: 29.38 kB / 0.6522 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.798e-05/0.03593, allocations: 48.08 kB / 0.6522 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005526/0.03648, allocations: 0.5095 MB / 0.6527 GB, free: 9.977 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.03649, allocations: 4 kB / 0.6527 GB, free: 9.973 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.828e-05/0.03652, allocations: 16 kB / 0.6527 GB, free: 9.957 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.265e-05/0.03654, allocations: 11.98 kB / 0.6528 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003485/0.03689, allocations: 307.7 kB / 0.6531 GB, free: 9.648 MB / 0.6198 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.001719/0.03861, allocations: 1.517 MB / 0.6545 GB, free: 8.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004057/0.03902, allocations: 238.8 kB / 0.6548 GB, free: 7.828 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.03913, allocations: 116.8 kB / 0.6549 GB, free: 7.711 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002494/0.03938, allocations: 107.9 kB / 0.655 GB, free: 7.605 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.03941, allocations: 34.56 kB / 0.655 GB, free: 7.562 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=26): time 1.603e-06/0.03941, allocations: 0 / 0.655 GB, free: 7.562 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26): time 0.0005117/0.03992, allocations: 369.1 kB / 0.6554 GB, free: 7.195 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.03995, allocations: 55.41 kB / 0.6554 GB, free: 7.129 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003769/0.04033, allocations: 485.9 kB / 0.6559 GB, free: 6.645 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.04035, allocations: 29.7 kB / 0.6559 GB, free: 6.609 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.0405, allocations: 268.4 kB / 0.6562 GB, free: 6.344 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.559e-05/0.04056, allocations: 99.17 kB / 0.6563 GB, free: 6.246 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.702e-05/0.04063, allocations: 70.02 kB / 0.6563 GB, free: 6.172 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.04074, allocations: 354.8 kB / 0.6567 GB, free: 5.816 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.04088, allocations: 100.6 kB / 0.6568 GB, free: 5.719 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/0.04105, allocations: 246.1 kB / 0.657 GB, free: 5.438 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002671/0.04132, allocations: 279.7 kB / 0.6573 GB, free: 5.141 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.04132, allocations: 4 kB / 0.6573 GB, free: 5.137 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003767/0.0417, allocations: 369.6 kB / 0.6576 GB, free: 4.77 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.04172, allocations: 10.48 kB / 0.6576 GB, free: 4.762 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.04172, allocations: 4 kB / 0.6576 GB, free: 4.758 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.04174, allocations: 4 kB / 0.6576 GB, free: 4.754 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.04189, allocations: 71.91 kB / 0.6577 GB, free: 4.684 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.0419, allocations: 4.219 kB / 0.6577 GB, free: 4.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.04203, allocations: 47.59 kB / 0.6578 GB, free: 4.633 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.334e-05/0.04206, allocations: 16 kB / 0.6578 GB, free: 4.617 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (39): * Single equations (assignments): 39 * 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.0001396/0.0422, allocations: 177.7 kB / 0.6579 GB, free: 4.434 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.953e-05/0.04225, allocations: 55.67 kB / 0.658 GB, free: 4.379 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005299/0.04278, allocations: 487.2 kB / 0.6585 GB, free: 3.902 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.04279, allocations: 4 kB / 0.6585 GB, free: 3.898 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.0428, allocations: 4 kB / 0.6585 GB, free: 3.895 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000384/0.04318, allocations: 0.5762 MB / 0.659 GB, free: 3.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.04423, allocations: 1.002 MB / 0.66 GB, free: 2.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.04424, allocations: 11.94 kB / 0.66 GB, free: 2.168 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.04436, allocations: 56.09 kB / 0.6601 GB, free: 2.113 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.04437, allocations: 4 kB / 0.6601 GB, free: 2.109 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.04438, allocations: 12 kB / 0.6601 GB, free: 2.098 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.04439, allocations: 3.984 kB / 0.6601 GB, free: 2.094 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.04439, allocations: 4 kB / 0.6601 GB, free: 2.09 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006309/0.04502, allocations: 0.6721 MB / 0.6607 GB, free: 1.383 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.04515, allocations: 103.5 kB / 0.6608 GB, free: 1.281 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.655e-05/0.04518, allocations: 8 kB / 0.6609 GB, free: 1.273 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.04532, allocations: 12 kB / 0.6609 GB, free: 1.262 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/0.04535, allocations: 27.89 kB / 0.6609 GB, free: 1.234 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/0.04537, allocations: 19.98 kB / 0.6609 GB, free: 1.215 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002628/0.04563, allocations: 342.9 kB / 0.6612 GB, free: 0.8828 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.04563, allocations: 0 / 0.6612 GB, free: 0.8828 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000447/0.04608, allocations: 203.5 kB / 0.6614 GB, free: 0.6836 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (vol.dynBal.U,senT.T,senHeaFlo.T) * 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 (32): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.001063/0.04714, allocations: 1.394 MB / 0.6628 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003433/0.04749, allocations: 295.7 kB / 0.6631 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.04749, allocations: 0 / 0.6631 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.04763, allocations: 153.1 kB / 0.6632 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008321/0.04846, allocations: 337 kB / 0.6635 GB, free: 14.49 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003774/0.05224, allocations: 4.166 MB / 0.6676 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001833/0.05242, allocations: 262.5 kB / 0.6679 GB, free: 9.879 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003044/0.05272, allocations: 116.7 kB / 0.668 GB, free: 9.762 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001949/0.05292, allocations: 192.4 kB / 0.6682 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of SimCode: time 7.71e-07/0.05292, allocations: 4 kB / 0.6682 GB, free: 9.57 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2863/0.3392, allocations: 18.86 MB / 0.6866 GB, free: 94.72 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.912/7.252, allocations: 8.141 kB / 0.6866 GB, free: 94.72 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_HeatMeter_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_HeatMeter.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.005494875833392] Failed to read output from testmodel.py, exit status != 0: 7.339636516757309 7.348275821 7.313214988 Calling exit ...