Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.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.001114/0.001114, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008383/0.0008383, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.2 MB / 202.8 MB, free: 5.543 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7587/0.7587, allocations: 154.5 MB / 413.7 MB, free: 0.7539 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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.PropyleneGlycolWaterProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.711e-05/1.85e-05, allocations: 7.031 kB / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterProperties): time 0.004935/0.004953, allocations: 4.202 MB / 0.6222 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002/0.006953, allocations: 2.457 MB / 0.6246 GB, free: 7.008 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.554e-05/0.007049, allocations: 0 / 0.6246 GB, free: 7.008 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002822/0.007331, allocations: 35.77 kB / 0.6246 GB, free: 6.973 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002815/0.007612, allocations: 107.2 kB / 0.6247 GB, free: 6.867 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009955/0.008608, allocations: 0.5271 MB / 0.6252 GB, free: 6.344 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.00025/0.008858, allocations: 239.8 kB / 0.6255 GB, free: 6.109 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.692e-05/0.008905, allocations: 9.812 kB / 0.6255 GB, free: 6.102 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008201/0.009725, allocations: 0.5248 MB / 0.626 GB, free: 5.578 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.221e-05/0.009817, allocations: 75.78 kB / 0.6261 GB, free: 5.504 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.009839, allocations: 7.938 kB / 0.6261 GB, free: 5.496 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005849/0.01042, allocations: 494.8 kB / 0.6265 GB, free: 5.012 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.385e-05/0.01049, allocations: 39.81 kB / 0.6266 GB, free: 4.973 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.132e-05/0.01054, allocations: 59.84 kB / 0.6266 GB, free: 4.914 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004004/0.01094, allocations: 366.9 kB / 0.627 GB, free: 4.555 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.01094, allocations: 0 / 0.627 GB, free: 4.555 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.042e-06/0.01094, allocations: 4 kB / 0.627 GB, free: 4.551 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.01095, allocations: 0 / 0.627 GB, free: 4.551 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.0006054/0.01155, allocations: 445.4 kB / 0.6274 GB, free: 4.082 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.01159, allocations: 9.469 kB / 0.6274 GB, free: 4.074 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.746e-05/0.01164, allocations: 54.73 kB / 0.6275 GB, free: 4.012 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.589e-05/0.01174, allocations: 20.84 kB / 0.6275 GB, free: 3.992 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.01194, allocations: 161.5 kB / 0.6276 GB, free: 3.809 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.01195, allocations: 12.7 kB / 0.6277 GB, free: 3.797 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.01197, allocations: 16.38 kB / 0.6277 GB, free: 3.781 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009217/0.01289, allocations: 468.1 kB / 0.6281 GB, free: 3.254 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.0129, allocations: 192 / 0.6281 GB, free: 3.254 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.125e-05/0.01292, allocations: 11.94 kB / 0.6281 GB, free: 3.242 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.33e-05/0.01295, allocations: 4 kB / 0.6281 GB, free: 3.238 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003142/0.01326, allocations: 427.5 kB / 0.6285 GB, free: 2.82 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008314/0.01409, allocations: 0.8635 MB / 0.6294 GB, free: 1.895 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002528/0.01434, allocations: 151.5 kB / 0.6295 GB, free: 1.734 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.435e-05/0.01442, allocations: 52.84 kB / 0.6296 GB, free: 1.68 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004702/0.01489, allocations: 459.8 kB / 0.63 GB, free: 1.211 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.01491, allocations: 30.56 kB / 0.63 GB, free: 1.172 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 8.92e-07/0.01491, allocations: 0 / 0.63 GB, free: 1.172 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.000273/0.01519, allocations: 148.2 kB / 0.6302 GB, free: 1.023 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.01523, allocations: 51.41 kB / 0.6302 GB, free: 0.9609 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.01537, allocations: 181.4 kB / 0.6304 GB, free: 0.7695 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.01539, allocations: 33.7 kB / 0.6304 GB, free: 0.7305 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.084e-05/0.01546, allocations: 136.2 kB / 0.6306 GB, free: 0.5938 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.01549, allocations: 67.47 kB / 0.6306 GB, free: 0.5273 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.102e-05/0.01554, allocations: 53.64 kB / 0.6307 GB, free: 480 kB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.01564, allocations: 326.8 kB / 0.631 GB, free: 144 kB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.762e-05/0.01569, allocations: 31.98 kB / 0.631 GB, free: 112 kB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.0158, allocations: 141.8 kB / 0.6312 GB, free: 15.92 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.01597, allocations: 193.5 kB / 0.6314 GB, free: 15.68 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.01597, allocations: 0 / 0.6314 GB, free: 15.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002273/0.0162, allocations: 219.9 kB / 0.6316 GB, free: 15.46 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.01622, allocations: 11.98 kB / 0.6316 GB, free: 15.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.01623, allocations: 4 kB / 0.6316 GB, free: 15.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.01625, allocations: 4 kB / 0.6316 GB, free: 15.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.01636, allocations: 59.86 kB / 0.6316 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.01637, allocations: 12.45 kB / 0.6316 GB, free: 15.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.474e-05/0.01644, allocations: 35.72 kB / 0.6317 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.01645, allocations: 15.98 kB / 0.6317 GB, free: 15.32 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.35e-05/0.01654, allocations: 129.8 kB / 0.6318 GB, free: 15.18 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.808e-05/0.01656, allocations: 15.91 kB / 0.6318 GB, free: 15.17 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002148/0.01678, allocations: 150.9 kB / 0.632 GB, free: 15.01 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.118e-06/0.01679, allocations: 7.984 kB / 0.632 GB, free: 15 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.01679, allocations: 0 / 0.632 GB, free: 15 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.0168, allocations: 3.938 kB / 0.632 GB, free: 15 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.01697, allocations: 176.7 kB / 0.6322 GB, free: 14.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01697, allocations: 0 / 0.6322 GB, free: 14.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.907e-05/0.01703, allocations: 31.98 kB / 0.6322 GB, free: 14.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.01703, allocations: 0 / 0.6322 GB, free: 14.75 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.01704, allocations: 15.92 kB / 0.6322 GB, free: 14.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.01705, allocations: 4 kB / 0.6322 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.01705, allocations: 3.984 kB / 0.6322 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.01723, allocations: 223.3 kB / 0.6324 GB, free: 14.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.396e-05/0.01727, allocations: 31.81 kB / 0.6325 GB, free: 14.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.01729, allocations: 0 / 0.6325 GB, free: 14.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.01739, allocations: 15.98 kB / 0.6325 GB, free: 14.45 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.107e-05/0.01741, allocations: 15.97 kB / 0.6325 GB, free: 14.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.01743, allocations: 15.94 kB / 0.6325 GB, free: 14.42 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.425e-05/0.01749, allocations: 124.9 kB / 0.6326 GB, free: 14.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.01749, allocations: 0 / 0.6326 GB, free: 14.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002576/0.01775, allocations: 75.86 kB / 0.6327 GB, free: 14.22 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.0005802/0.01833, allocations: 0.8393 MB / 0.6335 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000184/0.01852, allocations: 119.8 kB / 0.6336 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.01852, allocations: 0 / 0.6336 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.253e-05/0.01856, allocations: 43.91 kB / 0.6337 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.01886, allocations: 55.47 kB / 0.6337 GB, free: 13.15 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001879/0.02074, allocations: 2.008 MB / 0.6357 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.048e-05/0.02082, allocations: 99.27 kB / 0.6358 GB, free: 10.85 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001041/0.02093, allocations: 44.33 kB / 0.6358 GB, free: 10.81 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.49e-05/0.02099, allocations: 48.48 kB / 0.6359 GB, free: 10.77 MB / 0.6042 GB Notification: Performance of SimCode: time 6.21e-07/0.02099, allocations: 0 / 0.6359 GB, free: 10.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02111/0.0421, allocations: 6.137 MB / 0.6419 GB, free: 4.855 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.251/7.293, allocations: 0 / 0.6419 GB, free: 4.855 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterProperties.fmu > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.212935263291001] Failed to read output from testmodel.py, exit status != 0: 7.376106510870159 7.391136558 7.377142019 Calling exit ...