Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 204.9 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 222.9 MB / 240.5 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6422/0.6422, allocations: 115.3 MB / 406 MB, free: 2.789 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 68.28 kB / 493 MB, free: 6.738 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.12, allocations: 76.19 MB / 0.5558 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.PropertySource_h): time 0.3759/0.4959, allocations: 173.7 MB / 0.7255 GB, free: 9.168 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00867/0.5047, allocations: 8.705 MB / 0.734 GB, free: 452 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000548/0.5053, allocations: 23.81 kB / 0.734 GB, free: 428 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006566/0.506, allocations: 234.4 kB / 0.7342 GB, free: 192 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006292/0.5066, allocations: 294.6 kB / 0.7345 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007829/0.5074, allocations: 333.7 kB / 0.7348 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001186/0.5086, allocations: 1.624 MB / 0.7364 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005828/0.5092, allocations: 0.5045 MB / 0.7369 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003644/0.5128, allocations: 1.919 MB / 0.7388 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003554/0.5132, allocations: 370.4 kB / 0.7391 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.354e-05/0.5133, allocations: 28 kB / 0.7392 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001646/0.5134, allocations: 75.91 kB / 0.7392 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000206/0.5137, allocations: 247.3 kB / 0.7395 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002254/0.5139, allocations: 274.5 kB / 0.7397 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004897/0.5144, allocations: 0.5918 MB / 0.7403 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.5144, allocations: 0 / 0.7403 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of FrontEnd: time 6.71e-07/0.5144, allocations: 0 / 0.7403 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.5144, allocations: 0 / 0.7403 GB, free: 9.949 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.000909/0.5153, allocations: 0.8309 MB / 0.7411 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.5154, allocations: 8.031 kB / 0.7411 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.933e-05/0.5155, allocations: 98.52 kB / 0.7412 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.757e-05/0.5156, allocations: 75.17 kB / 0.7413 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004817/0.5161, allocations: 410.1 kB / 0.7417 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.931e-05/0.5161, allocations: 41.98 kB / 0.7417 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.794e-05/0.5162, allocations: 55.94 kB / 0.7418 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009112/0.5171, allocations: 0.7027 MB / 0.7425 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.5171, allocations: 4 kB / 0.7425 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.149e-05/0.5172, allocations: 20 kB / 0.7425 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.873e-05/0.5172, allocations: 39.86 kB / 0.7425 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005856/0.5178, allocations: 379.3 kB / 0.7429 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002158/0.52, allocations: 3.215 MB / 0.746 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.5202, allocations: 218.1 kB / 0.7462 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/0.5204, allocations: 132.6 kB / 0.7464 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.5204, allocations: 11.94 kB / 0.7464 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.5204, allocations: 46.48 kB / 0.7464 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.5204, allocations: 0 / 0.7464 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0006167/0.5211, allocations: 248.6 kB / 0.7467 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/0.5212, allocations: 291.9 kB / 0.7469 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006499/0.5218, allocations: 0.6877 MB / 0.7476 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.5219, allocations: 30.03 kB / 0.7476 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.522, allocations: 268.2 kB / 0.7479 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.251e-05/0.5221, allocations: 35.45 kB / 0.7479 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.69e-05/0.5221, allocations: 33.64 kB / 0.748 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.5223, allocations: 370.8 kB / 0.7483 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.5224, allocations: 35.97 kB / 0.7484 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.5225, allocations: 93.11 kB / 0.7484 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002302/0.5228, allocations: 137 kB / 0.7486 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.5228, allocations: 0 / 0.7486 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003092/0.5231, allocations: 188.8 kB / 0.7488 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.5231, allocations: 8.188 kB / 0.7488 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.5231, allocations: 7.938 kB / 0.7488 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.5231, allocations: 0 / 0.7488 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/0.5233, allocations: 35.97 kB / 0.7488 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.5234, allocations: 3.984 kB / 0.7488 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.5236, allocations: 67.27 kB / 0.7489 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/0.5236, allocations: 8 kB / 0.7489 GB, free: 0.5742 MB / 0.5606 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 (10): * Single equations (assignments): 10 * 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.0001702/0.5238, allocations: 201.7 kB / 0.7491 GB, free: 376 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001997/0.524, allocations: 63.34 kB / 0.7491 GB, free: 312 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.14e-05/0.524, allocations: 60.27 kB / 0.7492 GB, free: 244 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.5241, allocations: 4 kB / 0.7492 GB, free: 240 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.5241, allocations: 192 / 0.7492 GB, free: 240 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.5241, allocations: 7.984 kB / 0.7492 GB, free: 232 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001174/0.5253, allocations: 1.312 MB / 0.7505 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.5253, allocations: 288 / 0.7505 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/0.5255, allocations: 43.95 kB / 0.7505 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.5255, allocations: 4 kB / 0.7505 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.5255, allocations: 8 kB / 0.7505 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.5255, allocations: 0 / 0.7505 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5255, allocations: 7.938 kB / 0.7505 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003418/0.5258, allocations: 334.3 kB / 0.7509 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.526, allocations: 149.2 kB / 0.751 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.534e-05/0.526, allocations: 7.984 kB / 0.751 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.5262, allocations: 11.98 kB / 0.751 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.5263, allocations: 19.88 kB / 0.751 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.5263, allocations: 11.98 kB / 0.7511 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004693/0.5268, allocations: 0.4951 MB / 0.7515 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5268, allocations: 0 / 0.7515 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000338/0.5271, allocations: 79.84 kB / 0.7516 GB, free: 13.61 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (10): * Single equations (assignments): 10 * 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.0007215/0.5278, allocations: 0.9003 MB / 0.7525 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002666/0.5281, allocations: 99.98 kB / 0.7526 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5281, allocations: 0 / 0.7526 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.5283, allocations: 72.2 kB / 0.7527 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/0.5295, allocations: 270.8 kB / 0.7529 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004728/0.5342, allocations: 4.68 MB / 0.7575 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.5346, allocations: 0.9013 MB / 0.7584 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002198/0.5348, allocations: 104.6 kB / 0.7585 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001664/0.535, allocations: 175.4 kB / 0.7586 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.535, allocations: 0 / 0.7586 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.341/6.876, allocations: 12.97 MB / 0.7713 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002023/6.876, allocations: 240.9 kB / 0.7715 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.345/9.221, allocations: 0 / 0.7715 GB, free: 9.207 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_h.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)