Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_8_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_8_Buildings_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.00114/0.00114, allocations: 91.77 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.562/1.562, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.795/1.795, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005441/0.0005441, allocations: 14.12 kB / 0.6738 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2815, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.6595/0.9411, allocations: 159.9 MB / 0.9436 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009941/0.9511, allocations: 8.078 MB / 0.9515 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008683/0.952, allocations: 20.38 kB / 0.9515 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007866/0.9528, allocations: 213.3 kB / 0.9517 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0008315/0.9536, allocations: 289.3 kB / 0.952 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.9547, allocations: 305.9 kB / 0.9523 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001779/0.9565, allocations: 1.362 MB / 0.9536 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007082/0.9573, allocations: 438.2 kB / 0.954 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004688/0.9619, allocations: 1.481 MB / 0.9554 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005469/0.9625, allocations: 330.4 kB / 0.9558 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.075e-05/0.9626, allocations: 20.75 kB / 0.9558 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002344/0.9628, allocations: 58.5 kB / 0.9558 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002911/0.9631, allocations: 232.7 kB / 0.9561 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003934/0.9635, allocations: 127 kB / 0.9562 GB, free: 20.22 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005151/0.964, allocations: 460.5 kB / 0.9566 GB, free: 20.18 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/0.9641, allocations: 5.094 kB / 0.9566 GB, free: 20.18 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.765e-06/0.9641, allocations: 0 / 0.9566 GB, free: 20.18 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.9641, allocations: 0 / 0.9566 GB, free: 20.18 MB / 0.7325 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.001002/0.9651, allocations: 0.7194 MB / 0.9573 GB, free: 19.65 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.9652, allocations: 9.188 kB / 0.9573 GB, free: 19.65 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001128/0.9653, allocations: 96.67 kB / 0.9574 GB, free: 19.61 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.9654, allocations: 72.42 kB / 0.9575 GB, free: 19.57 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005461/0.9659, allocations: 402 kB / 0.9579 GB, free: 19.32 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.915e-05/0.966, allocations: 43.23 kB / 0.9579 GB, free: 19.32 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.002e-05/0.9661, allocations: 52.53 kB / 0.958 GB, free: 19.32 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.9671, allocations: 0.7042 MB / 0.9587 GB, free: 19.06 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.9671, allocations: 6.438 kB / 0.9587 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.739e-05/0.9672, allocations: 19.75 kB / 0.9587 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-05/0.9673, allocations: 29.45 kB / 0.9587 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006526/0.9679, allocations: 392.4 kB / 0.9591 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002638/0.9706, allocations: 3.222 MB / 0.9622 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002414/0.9708, allocations: 240.3 kB / 0.9625 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000192/0.971, allocations: 128.9 kB / 0.9626 GB, free: 16.22 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.9711, allocations: 5.953 kB / 0.9626 GB, free: 16.22 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.479e-05/0.9711, allocations: 46.03 kB / 0.9626 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/0.9711, allocations: 0 / 0.9626 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0006994/0.9718, allocations: 262 kB / 0.9629 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000153/0.972, allocations: 292.5 kB / 0.9632 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008963/0.9729, allocations: 0.6823 MB / 0.9638 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.9729, allocations: 31.05 kB / 0.9639 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002105/0.9732, allocations: 267.7 kB / 0.9641 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.9732, allocations: 33.33 kB / 0.9641 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-06/0.9732, allocations: 0 / 0.9641 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001791/0.9734, allocations: 376 kB / 0.9645 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.9735, allocations: 42.52 kB / 0.9645 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/0.9737, allocations: 98.41 kB / 0.9646 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.9738, allocations: 57.12 kB / 0.9647 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.9738, allocations: 0 / 0.9647 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003471/0.9742, allocations: 196.8 kB / 0.9649 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.9742, allocations: 9.188 kB / 0.9649 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.9742, allocations: 0.9688 kB / 0.9649 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.9743, allocations: 5.844 kB / 0.9649 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002313/0.9745, allocations: 59.73 kB / 0.965 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.9745, allocations: 2.906 kB / 0.965 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002495/0.9748, allocations: 63.55 kB / 0.965 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.9748, allocations: 10.23 kB / 0.965 GB, free: 14.98 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002164/0.975, allocations: 203.6 kB / 0.9652 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002176/0.9753, allocations: 60.06 kB / 0.9653 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.573e-05/0.9754, allocations: 59.98 kB / 0.9653 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.9754, allocations: 5 kB / 0.9653 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.9754, allocations: 7.719 kB / 0.9654 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.9754, allocations: 1.688 kB / 0.9654 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001488/0.9769, allocations: 1.302 MB / 0.9666 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/0.9769, allocations: 2 kB / 0.9666 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002214/0.9771, allocations: 57.48 kB / 0.9667 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.008e-05/0.9771, allocations: 3.156 kB / 0.9667 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.9772, allocations: 10.52 kB / 0.9667 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.9772, allocations: 3.312 kB / 0.9667 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.9772, allocations: 3.25 kB / 0.9667 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005268/0.9777, allocations: 348.3 kB / 0.967 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001867/0.9779, allocations: 145 kB / 0.9672 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.743e-05/0.978, allocations: 6.062 kB / 0.9672 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.9782, allocations: 22.33 kB / 0.9672 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.56e-05/0.9783, allocations: 15.7 kB / 0.9672 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.9783, allocations: 6.531 kB / 0.9672 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000807/0.9791, allocations: 0.4902 MB / 0.9677 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9791, allocations: 0 / 0.9677 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006248/0.9798, allocations: 88.59 kB / 0.9678 GB, free: 13.33 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001323/0.9811, allocations: 0.917 MB / 0.9687 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004546/0.9816, allocations: 115.5 kB / 0.9688 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.9816, allocations: 0 / 0.9688 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002014/0.9818, allocations: 70.53 kB / 0.9689 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001595/0.9834, allocations: 267.6 kB / 0.9691 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005269/0.9887, allocations: 3.075 MB / 0.9721 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007009/0.9894, allocations: 0.9063 MB / 0.973 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000444/0.9899, allocations: 104.7 kB / 0.9731 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002542/0.9901, allocations: 170.9 kB / 0.9733 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of SimCode: time 1.463e-06/0.9901, allocations: 0 / 0.9733 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03253/1.023, allocations: 12.99 MB / 0.9859 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/1.023, allocations: 228 kB / 0.9862 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.109/3.132, allocations: 1.859 kB / 0.9862 GB, free: 5.457 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sources_Examples_PropertySource_h.fmu > Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) Environment - environmentSimulation: