Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.404/1.404, allocations: 252 MB / 267 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 173.9 kB / 326.6 MB, free: 2.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.743/1.743, allocations: 205.4 MB / 0.5777 GB, free: 20.19 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008247/0.0008246, allocations: 84.89 kB / 0.6822 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003518/0.0003519, allocations: 8.969 kB / 0.7964 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2141, allocations: 106.4 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.618/0.8322, allocations: 160.2 MB / 1.057 GB, free: 4.285 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.008962/0.8412, allocations: 8.196 MB / 1.065 GB, free: 4.203 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007672/0.842, allocations: 17.34 kB / 1.065 GB, free: 4.203 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007309/0.8427, allocations: 218.4 kB / 1.065 GB, free: 4.203 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0007623/0.8435, allocations: 283.9 kB / 1.065 GB, free: 4.188 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001017/0.8445, allocations: 298.9 kB / 1.065 GB, free: 4.184 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001674/0.8462, allocations: 1.366 MB / 1.067 GB, free: 4.18 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00074/0.847, allocations: 434 kB / 1.067 GB, free: 4.133 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004087/0.8511, allocations: 1.48 MB / 1.069 GB, free: 4.094 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005152/0.8516, allocations: 336.5 kB / 1.069 GB, free: 4.09 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.441e-05/0.8517, allocations: 20.34 kB / 1.069 GB, free: 4.09 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002273/0.8519, allocations: 57.64 kB / 1.069 GB, free: 4.09 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000267/0.8522, allocations: 231.8 kB / 1.069 GB, free: 4.09 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003508/0.8525, allocations: 126 kB / 1.069 GB, free: 20.06 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0006737/0.8532, allocations: 464 kB / 1.07 GB, free: 20.02 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.8532, allocations: 0 / 1.07 GB, free: 20.02 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.206e-06/0.8532, allocations: 0 / 1.07 GB, free: 20.02 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.149e-05/0.8533, allocations: 3.844 kB / 1.07 GB, free: 20.02 MB / 0.7136 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.001023/0.8543, allocations: 0.7119 MB / 1.071 GB, free: 19.49 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.8543, allocations: 9 kB / 1.071 GB, free: 19.49 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001257/0.8545, allocations: 102.5 kB / 1.071 GB, free: 19.45 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001131/0.8546, allocations: 69.62 kB / 1.071 GB, free: 19.41 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006009/0.8552, allocations: 405 kB / 1.071 GB, free: 19.18 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.466e-05/0.8553, allocations: 44.33 kB / 1.071 GB, free: 19.18 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.833e-05/0.8554, allocations: 52.28 kB / 1.071 GB, free: 19.17 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/0.8565, allocations: 0.706 MB / 1.072 GB, free: 18.92 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.8566, allocations: 4.219 kB / 1.072 GB, free: 18.92 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.707e-05/0.8566, allocations: 23.09 kB / 1.072 GB, free: 18.92 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.43e-05/0.8567, allocations: 31.94 kB / 1.072 GB, free: 18.92 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007664/0.8575, allocations: 386.3 kB / 1.072 GB, free: 18.91 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002681/0.8602, allocations: 3.226 MB / 1.075 GB, free: 16.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000235/0.8604, allocations: 227.6 kB / 1.076 GB, free: 16.26 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002207/0.8606, allocations: 135.8 kB / 1.076 GB, free: 16.18 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.8607, allocations: 2.734 kB / 1.076 GB, free: 16.18 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.8607, allocations: 51.42 kB / 1.076 GB, free: 16.14 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 2.715e-06/0.8607, allocations: 3.516 kB / 1.076 GB, free: 16.14 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0008028/0.8615, allocations: 262.2 kB / 1.076 GB, free: 16.07 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/0.8616, allocations: 290.4 kB / 1.076 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008888/0.8625, allocations: 0.6862 MB / 1.077 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.8626, allocations: 27.97 kB / 1.077 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.8628, allocations: 271.2 kB / 1.077 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/0.8628, allocations: 30.84 kB / 1.077 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-06/0.8628, allocations: 2.25 kB / 1.077 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.863, allocations: 368 kB / 1.078 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.8632, allocations: 44.11 kB / 1.078 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/0.8633, allocations: 99.58 kB / 1.078 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.8635, allocations: 54.81 kB / 1.078 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.8635, allocations: 0.7188 kB / 1.078 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000374/0.8639, allocations: 199.7 kB / 1.078 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.8639, allocations: 5.375 kB / 1.078 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.8639, allocations: 1.594 kB / 1.078 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.8639, allocations: 2.469 kB / 1.078 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002454/0.8642, allocations: 56.73 kB / 1.078 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.8642, allocations: 2.094 kB / 1.078 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002934/0.8645, allocations: 68.77 kB / 1.078 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.687e-05/0.8645, allocations: 6.281 kB / 1.078 GB, free: 14.97 MB / 0.7136 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.000247/0.8648, allocations: 206 kB / 1.078 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000241/0.865, allocations: 56.16 kB / 1.079 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.709e-05/0.8651, allocations: 65.23 kB / 1.079 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.8652, allocations: 3.844 kB / 1.079 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.8652, allocations: 9.219 kB / 1.079 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.341e-06/0.8652, allocations: 4.578 kB / 1.079 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/0.8666, allocations: 1.299 MB / 1.08 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.8666, allocations: 6.016 kB / 1.08 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002198/0.8668, allocations: 55.38 kB / 1.08 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.8668, allocations: 3.594 kB / 1.08 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.8669, allocations: 6.875 kB / 1.08 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.112e-06/0.8669, allocations: 3.375 kB / 1.08 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.8669, allocations: 5.281 kB / 1.08 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004057/0.8673, allocations: 355.1 kB / 1.08 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001491/0.8675, allocations: 144.6 kB / 1.08 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.735e-05/0.8675, allocations: 7.984 kB / 1.08 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/0.8677, allocations: 23.02 kB / 1.08 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.505e-05/0.8678, allocations: 11.67 kB / 1.08 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.8678, allocations: 5.281 kB / 1.08 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0005986/0.8684, allocations: 0.4889 MB / 1.081 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8684, allocations: 2.906 kB / 1.081 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004336/0.8688, allocations: 87.48 kB / 1.081 GB, free: 13.35 MB / 0.7136 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.0009128/0.8698, allocations: 0.9149 MB / 1.082 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000324/0.8701, allocations: 112.5 kB / 1.082 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.8701, allocations: 384 / 1.082 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.8703, allocations: 67.41 kB / 1.082 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/0.8716, allocations: 271.2 kB / 1.082 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004372/0.876, allocations: 3.096 MB / 1.085 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004814/0.8765, allocations: 0.9044 MB / 1.086 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003723/0.8769, allocations: 103.8 kB / 1.086 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001879/0.8771, allocations: 175.9 kB / 1.087 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of SimCode: time 1.263e-06/0.8771, allocations: 0 / 1.087 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0394/0.9165, allocations: 13 MB / 1.099 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002948/0.9169, allocations: 234.2 kB / 1.099 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.237/3.154, allocations: 4 kB / 1.099 GB, free: 9.691 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_PropertySource_h.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)