Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterProperties.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.0007542/0.0007542, 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.0007939/0.0007939, 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.8617/0.8617, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.683/0.683, 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.Media.Examples.WaterProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 0.6181 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.207e-05/2.397e-05, allocations: 5.094 kB / 0.6181 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.004637/0.004661, allocations: 4.501 MB / 0.6225 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001772/0.006434, allocations: 2.461 MB / 0.6249 GB, free: 6.598 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.472e-05/0.006528, allocations: 0 / 0.6249 GB, free: 6.598 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.000258/0.006786, allocations: 47.62 kB / 0.625 GB, free: 6.551 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002325/0.007019, allocations: 103.2 kB / 0.6251 GB, free: 6.449 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009205/0.007939, allocations: 0.5335 MB / 0.6256 GB, free: 5.922 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002086/0.008148, allocations: 243.8 kB / 0.6258 GB, free: 5.68 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.833e-05/0.008186, allocations: 9.812 kB / 0.6258 GB, free: 5.672 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001831/0.008369, allocations: 159.5 kB / 0.626 GB, free: 5.516 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.008477, allocations: 71.78 kB / 0.6261 GB, free: 5.445 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.008498, allocations: 12 kB / 0.6261 GB, free: 5.434 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004213/0.008919, allocations: 323.1 kB / 0.6264 GB, free: 5.117 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.028e-05/0.008989, allocations: 43.88 kB / 0.6264 GB, free: 5.074 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.807e-05/0.009047, allocations: 59.84 kB / 0.6265 GB, free: 5.016 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004366/0.009484, allocations: 375 kB / 0.6268 GB, free: 4.648 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.009487, allocations: 0 / 0.6268 GB, free: 4.648 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.673e-06/0.009488, allocations: 0 / 0.6268 GB, free: 4.648 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.009493, allocations: 0 / 0.6268 GB, free: 4.648 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.000675/0.01017, allocations: 445.4 kB / 0.6273 GB, free: 4.18 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.447e-05/0.01022, allocations: 12.03 kB / 0.6273 GB, free: 4.168 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.832e-05/0.01027, allocations: 50.73 kB / 0.6273 GB, free: 4.109 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001325/0.0104, allocations: 24.83 kB / 0.6273 GB, free: 4.086 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002725/0.01068, allocations: 153.6 kB / 0.6275 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.01069, allocations: 16.69 kB / 0.6275 GB, free: 3.895 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.01071, allocations: 16.31 kB / 0.6275 GB, free: 3.879 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003706/0.01108, allocations: 489 kB / 0.628 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.01109, allocations: 192 / 0.628 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.01111, allocations: 15.88 kB / 0.628 GB, free: 3.312 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.184e-05/0.01113, allocations: 4 kB / 0.628 GB, free: 3.309 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003256/0.01146, allocations: 431.2 kB / 0.6284 GB, free: 2.887 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008064/0.01227, allocations: 0.8125 MB / 0.6292 GB, free: 2.016 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002785/0.01254, allocations: 147.5 kB / 0.6293 GB, free: 1.859 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.699e-05/0.01261, allocations: 52.88 kB / 0.6294 GB, free: 1.805 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004719/0.01308, allocations: 455.8 kB / 0.6298 GB, free: 1.34 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.0131, allocations: 38.5 kB / 0.6299 GB, free: 1.293 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 1.052e-06/0.0131, allocations: 4 kB / 0.6299 GB, free: 1.289 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.0002638/0.01337, allocations: 140.4 kB / 0.63 GB, free: 1.148 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.0134, allocations: 55.41 kB / 0.6301 GB, free: 1.082 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.01353, allocations: 177.4 kB / 0.6302 GB, free: 0.8984 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.01355, allocations: 29.7 kB / 0.6303 GB, free: 0.8633 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.78e-05/0.01362, allocations: 144.2 kB / 0.6304 GB, free: 0.7188 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/0.01365, allocations: 59.47 kB / 0.6304 GB, free: 0.6602 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.936e-05/0.0137, allocations: 49.7 kB / 0.6305 GB, free: 0.6055 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.512e-05/0.01378, allocations: 322.8 kB / 0.6308 GB, free: 288 kB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.765e-05/0.01383, allocations: 35.98 kB / 0.6308 GB, free: 252 kB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.492e-05/0.01393, allocations: 141.6 kB / 0.631 GB, free: 60 kB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.0141, allocations: 197.5 kB / 0.6312 GB, free: 15.82 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.0141, allocations: 4 kB / 0.6312 GB, free: 15.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002302/0.01433, allocations: 213.6 kB / 0.6314 GB, free: 15.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.01435, allocations: 11.98 kB / 0.6314 GB, free: 15.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.01436, allocations: 4 kB / 0.6314 GB, free: 15.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.01437, allocations: 4 kB / 0.6314 GB, free: 15.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.01449, allocations: 59.92 kB / 0.6314 GB, free: 15.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.0145, allocations: 7.984 kB / 0.6315 GB, free: 15.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.143e-05/0.01457, allocations: 35.7 kB / 0.6315 GB, free: 15.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.01459, allocations: 12 kB / 0.6315 GB, free: 15.46 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.92e-05/0.01468, allocations: 133.7 kB / 0.6316 GB, free: 15.32 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.987e-05/0.01471, allocations: 19.94 kB / 0.6316 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002217/0.01493, allocations: 157.4 kB / 0.6318 GB, free: 15.15 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.01493, allocations: 3.984 kB / 0.6318 GB, free: 15.14 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.01494, allocations: 0 / 0.6318 GB, free: 15.14 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.01495, allocations: 11.88 kB / 0.6318 GB, free: 15.13 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.01512, allocations: 180.7 kB / 0.632 GB, free: 14.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.01512, allocations: 0 / 0.632 GB, free: 14.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.903e-05/0.01518, allocations: 27.98 kB / 0.632 GB, free: 14.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.01518, allocations: 0 / 0.632 GB, free: 14.89 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.0152, allocations: 11.92 kB / 0.632 GB, free: 14.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.0152, allocations: 0 / 0.632 GB, free: 14.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.0152, allocations: 8 kB / 0.632 GB, free: 14.87 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001694/0.01537, allocations: 219.2 kB / 0.6322 GB, free: 14.64 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.932e-05/0.01542, allocations: 31.88 kB / 0.6323 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.01544, allocations: 7.984 kB / 0.6323 GB, free: 14.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.674e-05/0.01553, allocations: 8 kB / 0.6323 GB, free: 14.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.24e-05/0.01555, allocations: 15.97 kB / 0.6323 GB, free: 14.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.01557, allocations: 11.94 kB / 0.6323 GB, free: 14.56 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.152e-05/0.01563, allocations: 120.9 kB / 0.6324 GB, free: 14.45 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.01563, allocations: 0 / 0.6324 GB, free: 14.45 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002702/0.0159, allocations: 87.8 kB / 0.6325 GB, free: 14.36 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0005513/0.01645, allocations: 0.8393 MB / 0.6333 GB, free: 13.49 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001642/0.01662, allocations: 108.6 kB / 0.6334 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.01662, allocations: 4.125 kB / 0.6334 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.899e-05/0.01666, allocations: 43.92 kB / 0.6335 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.01694, allocations: 47.89 kB / 0.6335 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/0.01867, allocations: 2.02 MB / 0.6355 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.201e-05/0.01875, allocations: 107.2 kB / 0.6356 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001124/0.01886, allocations: 45.84 kB / 0.6356 GB, free: 10.94 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.926e-05/0.01892, allocations: 48.48 kB / 0.6357 GB, free: 10.89 MB / 0.6042 GB Notification: Performance of SimCode: time 5.21e-07/0.01892, allocations: 0 / 0.6357 GB, free: 10.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01772/0.03664, allocations: 6.221 MB / 0.6418 GB, free: 4.895 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.199/7.236, allocations: 14.25 kB / 0.6418 GB, free: 4.887 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_WaterProperties.fmu > IDEAS_IDEAS.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.790604024194181] Failed to read output from testmodel.py, exit status != 0: 7.316951698623598 7.327362185 7.316115741 Calling exit ...