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.0006733/0.0006733, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009785/0.001652, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006781/0.0006781, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009621/0.00164, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.971/0.971, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08736/1.058, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.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-545:108: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-545:116: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.7627/0.7627, allocations: 154.6 MB / 398.5 MB, free: 0.5234 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2838/1.046, allocations: 49.04 MB / 447.6 MB, free: 6.676 MB / 426.7 MB " [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.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterProperties") translateModel(IDEAS.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 448.9 MB, free: 5.355 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.081e-05/1.216e-05, allocations: 2.312 kB / 448.9 MB, free: 5.352 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.004701/0.004713, allocations: 4.93 MB / 453.8 MB, free: 488 kB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002107/0.00682, allocations: 2.847 MB / 456.7 MB, free: 13.64 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.166e-05/0.006892, allocations: 0 / 456.7 MB, free: 13.64 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001667/0.007058, allocations: 47.69 kB / 456.7 MB, free: 13.59 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001711/0.007229, allocations: 109 kB / 456.8 MB, free: 13.48 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009509/0.00818, allocations: 0.5562 MB / 457.4 MB, free: 12.93 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002188/0.008399, allocations: 251.8 kB / 457.6 MB, free: 12.69 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.666e-05/0.008436, allocations: 10.41 kB / 457.7 MB, free: 12.68 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001879/0.008624, allocations: 168.3 kB / 457.8 MB, free: 12.51 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.966e-05/0.008723, allocations: 76.27 kB / 457.9 MB, free: 12.44 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.008744, allocations: 8.688 kB / 457.9 MB, free: 12.43 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004628/0.009207, allocations: 343.1 kB / 458.2 MB, free: 12.09 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.121e-05/0.009258, allocations: 24.56 kB / 458.3 MB, free: 12.07 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.04e-05/0.009308, allocations: 52.44 kB / 458.3 MB, free: 12.02 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000387/0.009695, allocations: 323 kB / 458.6 MB, free: 11.7 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.179e-05/0.009707, allocations: 4.625 kB / 458.6 MB, free: 11.7 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.009708, allocations: 0 / 458.6 MB, free: 11.7 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.00972, allocations: 0.625 kB / 458.6 MB, free: 11.7 MB / 442.7 MB 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.0006336/0.01035, allocations: 0.5428 MB / 459.2 MB, free: 11.11 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.01039, allocations: 12.03 kB / 459.2 MB, free: 11.1 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.01052, allocations: 46.48 kB / 459.2 MB, free: 11.06 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.01068, allocations: 153.5 kB / 459.4 MB, free: 10.88 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.0107, allocations: 8.703 kB / 459.4 MB, free: 10.88 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.01072, allocations: 24.38 kB / 459.4 MB, free: 10.85 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002421/0.01096, allocations: 411.5 kB / 459.8 MB, free: 10.38 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.01097, allocations: 4.172 kB / 459.8 MB, free: 10.37 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.01098, allocations: 13.12 kB / 459.8 MB, free: 10.36 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.615e-05/0.01101, allocations: 4 kB / 459.8 MB, free: 10.36 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004731/0.01148, allocations: 249 kB / 460.1 MB, free: 10.11 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005576/0.01204, allocations: 0.6778 MB / 460.8 MB, free: 9.402 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.0122, allocations: 165.6 kB / 460.9 MB, free: 9.234 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.982e-05/0.01224, allocations: 37.36 kB / 461 MB, free: 9.195 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004415/0.01268, allocations: 472.9 kB / 461.4 MB, free: 8.723 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.01271, allocations: 42.56 kB / 461.5 MB, free: 8.672 MB / 442.7 MB Notification: Performance of pre-optimization done (n=15): time 7.91e-07/0.01271, allocations: 0 / 461.5 MB, free: 8.672 MB / 442.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001421/0.01285, allocations: 135.9 kB / 461.6 MB, free: 8.535 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.01288, allocations: 59.39 kB / 461.7 MB, free: 8.465 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.546e-05/0.01295, allocations: 160.3 kB / 461.8 MB, free: 8.297 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.01297, allocations: 25.7 kB / 461.8 MB, free: 8.266 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.523e-05/0.01302, allocations: 152 kB / 462 MB, free: 8.113 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.01305, allocations: 55.58 kB / 462 MB, free: 8.059 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.283e-05/0.01309, allocations: 53.64 kB / 462.1 MB, free: 8 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.961e-05/0.01316, allocations: 327.8 kB / 462.4 MB, free: 7.672 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.191e-05/0.01318, allocations: 22.81 kB / 462.4 MB, free: 7.648 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.559e-05/0.01325, allocations: 135.3 kB / 462.6 MB, free: 7.473 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.01336, allocations: 182.1 kB / 462.7 MB, free: 7.25 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.01337, allocations: 0 / 462.7 MB, free: 7.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000143/0.01351, allocations: 168.7 kB / 462.9 MB, free: 7.082 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.01352, allocations: 7.938 kB / 462.9 MB, free: 7.074 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.01353, allocations: 4 kB / 462.9 MB, free: 7.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.368e-06/0.01354, allocations: 4 kB / 462.9 MB, free: 7.066 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.01368, allocations: 67.91 kB / 463 MB, free: 7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.01368, allocations: 8.875 kB / 463 MB, free: 6.992 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.403e-05/0.01374, allocations: 23.83 kB / 463 MB, free: 6.969 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.01375, allocations: 12.75 kB / 463 MB, free: 6.957 MB / 442.7 MB 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 6.275e-05/0.01381, allocations: 126.4 kB / 463.2 MB, free: 6.824 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.01383, allocations: 23.97 kB / 463.2 MB, free: 6.801 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001323/0.01397, allocations: 115.8 kB / 463.3 MB, free: 6.684 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.01397, allocations: 4 kB / 463.3 MB, free: 6.68 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.01398, allocations: 0 / 463.3 MB, free: 6.68 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.01398, allocations: 0.5312 kB / 463.3 MB, free: 6.68 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.01409, allocations: 110.3 kB / 463.4 MB, free: 6.555 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.01409, allocations: 3.938 kB / 463.4 MB, free: 6.551 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.975e-05/0.01416, allocations: 38.75 kB / 463.4 MB, free: 6.516 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.209e-05/0.01419, allocations: 19.94 kB / 463.5 MB, free: 6.496 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.0142, allocations: 4 kB / 463.5 MB, free: 6.492 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.0142, allocations: 7.984 kB / 463.5 MB, free: 6.484 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.0142, allocations: 0 / 463.5 MB, free: 6.484 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.0142, allocations: 0 / 463.5 MB, free: 6.484 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001274/0.01433, allocations: 232.9 kB / 463.7 MB, free: 6.242 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.01435, allocations: 7.984 kB / 463.7 MB, free: 6.234 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.425e-05/0.01442, allocations: 12.61 kB / 463.7 MB, free: 6.223 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.659e-05/0.01444, allocations: 9.062 kB / 463.7 MB, free: 6.215 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.01445, allocations: 9.812 kB / 463.7 MB, free: 6.207 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.538e-05/0.01448, allocations: 36.27 kB / 463.8 MB, free: 6.172 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01448, allocations: 0 / 463.8 MB, free: 6.172 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002136/0.01469, allocations: 83.83 kB / 463.9 MB, free: 6.09 MB / 442.7 MB 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.0002069/0.0149, allocations: 169.6 kB / 464 MB, free: 5.922 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001146/0.01501, allocations: 95.8 kB / 464.1 MB, free: 5.828 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.956e-06/0.01502, allocations: 4 kB / 464.1 MB, free: 5.824 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.006e-05/0.01505, allocations: 39.03 kB / 464.2 MB, free: 5.785 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001949/0.01524, allocations: 72.5 kB / 464.2 MB, free: 5.719 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002656/0.0179, allocations: 340.3 kB / 464.6 MB, free: 5.363 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.94e-05/0.01794, allocations: 71.98 kB / 464.6 MB, free: 5.273 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 9.2e-05/0.01803, allocations: 40.55 kB / 464.7 MB, free: 5.238 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.01817, allocations: 121.3 kB / 464.8 MB, free: 5.117 MB / 442.7 MB Notification: Performance of SimCode: time 6.42e-07/0.01817, allocations: 1.312 kB / 464.8 MB, free: 5.117 MB / 442.7 MB Notification: Performance of Templates: time 0.005051/0.02322, allocations: 3.567 MB / 468.4 MB, free: 1.887 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.WaterProperties.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Media.Examples.WaterProperties -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.477146995253861]