Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="BuildingSystems_BuildingSystems_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.0008754/0.0008754, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005716/0.005716, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.283/1.283, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001685/0.001685, allocations: 274.4 kB / 291.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9225/0.9225, allocations: 169.5 MB / 0.5004 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003846/0.0003846, allocations: 16.44 kB / 0.5988 GB, free: 27.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.151, allocations: 88.54 MB / 0.6852 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_h): time 0.4732/0.6243, allocations: 171.4 MB / 0.8526 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008939/0.6333, allocations: 8.591 MB / 0.861 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004903/0.6338, allocations: 20.06 kB / 0.8611 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005983/0.6344, allocations: 235.8 kB / 0.8613 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006074/0.635, allocations: 291.9 kB / 0.8616 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007986/0.6358, allocations: 339.8 kB / 0.8619 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001285/0.6371, allocations: 1.616 MB / 0.8635 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005913/0.6377, allocations: 0.4964 MB / 0.8639 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00386/0.6416, allocations: 1.9 MB / 0.8658 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003729/0.642, allocations: 342.8 kB / 0.8661 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.314e-05/0.642, allocations: 22.47 kB / 0.8662 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001525/0.6422, allocations: 58.66 kB / 0.8662 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002113/0.6424, allocations: 246 kB / 0.8664 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002292/0.6427, allocations: 286.1 kB / 0.8667 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005225/0.6432, allocations: 0.5801 MB / 0.8673 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.6432, allocations: 0 / 0.8673 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6432, allocations: 0 / 0.8673 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.275e-06/0.6432, allocations: 0 / 0.8673 GB, free: 1.395 MB / 0.5762 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.0008736/0.6441, allocations: 0.7184 MB / 0.868 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.6441, allocations: 7.844 kB / 0.868 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001029/0.6443, allocations: 102.1 kB / 0.8681 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.028e-05/0.6444, allocations: 70.88 kB / 0.8682 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004676/0.6448, allocations: 412.4 kB / 0.8685 GB, free: 296 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.753e-05/0.6449, allocations: 43.52 kB / 0.8686 GB, free: 272 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.269e-05/0.6449, allocations: 51.69 kB / 0.8686 GB, free: 256 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009387/0.6459, allocations: 0.7122 MB / 0.8693 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.6459, allocations: 7.25 kB / 0.8693 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.384e-05/0.646, allocations: 25.31 kB / 0.8694 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.562e-05/0.646, allocations: 26.23 kB / 0.8694 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005846/0.6466, allocations: 394.7 kB / 0.8698 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002397/0.649, allocations: 3.225 MB / 0.8729 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002619/0.6493, allocations: 225.1 kB / 0.8731 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001853/0.6495, allocations: 135.1 kB / 0.8733 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.6495, allocations: 6.875 kB / 0.8733 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.6495, allocations: 43.81 kB / 0.8733 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.6495, allocations: 0 / 0.8733 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0006582/0.6502, allocations: 271.8 kB / 0.8736 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001277/0.6503, allocations: 293.9 kB / 0.8738 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006983/0.651, allocations: 0.6871 MB / 0.8745 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.6511, allocations: 25.7 kB / 0.8745 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002083/0.6513, allocations: 268.8 kB / 0.8748 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.72e-05/0.6513, allocations: 37.58 kB / 0.8748 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.774e-05/0.6514, allocations: 12.28 kB / 0.8748 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.6516, allocations: 375.1 kB / 0.8752 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.6517, allocations: 40.59 kB / 0.8752 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001575/0.6518, allocations: 101.5 kB / 0.8753 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002507/0.6521, allocations: 141.2 kB / 0.8755 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.6521, allocations: 2.875 kB / 0.8755 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003263/0.6524, allocations: 201.7 kB / 0.8757 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.6525, allocations: 9.281 kB / 0.8757 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.6525, allocations: 2.594 kB / 0.8757 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.6525, allocations: 0 / 0.8757 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/0.6527, allocations: 58.36 kB / 0.8757 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.6527, allocations: 0 / 0.8757 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002082/0.6529, allocations: 67.95 kB / 0.8758 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.733e-05/0.653, allocations: 10.2 kB / 0.8758 GB, free: 10.16 MB / 0.5919 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.0001792/0.6532, allocations: 197.9 kB / 0.876 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001991/0.6534, allocations: 69.97 kB / 0.8761 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.244e-05/0.6535, allocations: 60.89 kB / 0.8761 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.6535, allocations: 2.906 kB / 0.8761 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.6535, allocations: 2.906 kB / 0.8761 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.6535, allocations: 7.016 kB / 0.8761 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/0.6548, allocations: 1.306 MB / 0.8774 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.6548, allocations: 2.562 kB / 0.8774 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000189/0.655, allocations: 54.3 kB / 0.8775 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.655, allocations: 3.344 kB / 0.8775 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.655, allocations: 7 kB / 0.8775 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/0.655, allocations: 10.66 kB / 0.8775 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.655, allocations: 2.625 kB / 0.8775 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000385/0.6554, allocations: 340 kB / 0.8778 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001488/0.6556, allocations: 153 kB / 0.878 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.863e-05/0.6556, allocations: 6.922 kB / 0.878 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/0.6558, allocations: 21.64 kB / 0.878 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.691e-05/0.6559, allocations: 20.98 kB / 0.878 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.6559, allocations: 5.688 kB / 0.878 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004778/0.6564, allocations: 0.4938 MB / 0.8785 GB, free: 7.926 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6564, allocations: 0 / 0.8785 GB, free: 7.926 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003507/0.6567, allocations: 79.44 kB / 0.8786 GB, free: 7.918 MB / 0.5919 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.0008316/0.6576, allocations: 0.9098 MB / 0.8795 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002908/0.6579, allocations: 112.4 kB / 0.8796 GB, free: 7.039 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6579, allocations: 4.312 kB / 0.8796 GB, free: 7.035 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.658, allocations: 70.36 kB / 0.8796 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/0.6595, allocations: 266 kB / 0.8799 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005183/0.6647, allocations: 4.727 MB / 0.8845 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004402/0.6651, allocations: 0.9052 MB / 0.8854 GB, free: 1.887 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002672/0.6654, allocations: 108.6 kB / 0.8855 GB, free: 1.777 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001847/0.6656, allocations: 171.4 kB / 0.8857 GB, free: 1.609 MB / 0.5919 GB Notification: Performance of SimCode: time 5.61e-07/0.6656, allocations: 0 / 0.8857 GB, free: 1.609 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0269/0.6925, allocations: 12.83 MB / 0.8982 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001848/0.6927, allocations: 254.1 kB / 0.8984 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.956/2.648, allocations: 0 / 0.8984 GB, free: 4.805 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_h.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)