Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="BuildSysPro_BuildSysPro_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.008542/0.008542, allocations: 101.4 kB / 15.73 MB, free: 6.023 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.002151/0.002151, allocations: 187.7 kB / 16.67 MB, free: 5.961 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.026/1.026, allocations: 143 MB / 433.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 67.89 kB / 0.595 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.507/0.5082, allocations: 82.03 MB / 0.6752 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h): time 0.1925/0.7008, allocations: 176.1 MB / 0.8471 GB, free: 5.742 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01033/0.7112, allocations: 8.736 MB / 0.8556 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000889/0.7122, allocations: 19.88 kB / 0.8556 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0009145/0.7131, allocations: 297.8 kB / 0.8559 GB, free: 12.67 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0008771/0.714, allocations: 306.4 kB / 0.8562 GB, free: 12.37 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001079/0.7151, allocations: 379 kB / 0.8566 GB, free: 12 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001365/0.7165, allocations: 1.144 MB / 0.8577 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008788/0.7174, allocations: 0.592 MB / 0.8583 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005099/0.7225, allocations: 2.066 MB / 0.8603 GB, free: 8.191 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006541/0.7232, allocations: 346.5 kB / 0.8606 GB, free: 7.852 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001461/0.7233, allocations: 40 kB / 0.8607 GB, free: 7.812 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003316/0.7237, allocations: 79.91 kB / 0.8607 GB, free: 7.734 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003209/0.724, allocations: 267.3 kB / 0.861 GB, free: 7.473 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0003953/0.7244, allocations: 278.5 kB / 0.8613 GB, free: 7.199 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0008299/0.7253, allocations: 0.6656 MB / 0.8619 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.7253, allocations: 4 kB / 0.8619 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7253, allocations: 0 / 0.8619 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.453e-05/0.7253, allocations: 0 / 0.8619 GB, free: 6.527 MB / 0.6856 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.001289/0.7266, allocations: 0.8224 MB / 0.8627 GB, free: 5.652 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.7267, allocations: 12.02 kB / 0.8627 GB, free: 5.641 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000126/0.7268, allocations: 102.4 kB / 0.8628 GB, free: 5.531 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001245/0.7269, allocations: 71.09 kB / 0.8629 GB, free: 5.461 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007736/0.7277, allocations: 446.2 kB / 0.8633 GB, free: 4.984 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.157e-05/0.7278, allocations: 49.23 kB / 0.8634 GB, free: 4.938 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.833e-05/0.7279, allocations: 48 kB / 0.8634 GB, free: 4.891 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.7289, allocations: 0.7143 MB / 0.8641 GB, free: 4.094 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.7289, allocations: 0 / 0.8641 GB, free: 4.094 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.611e-05/0.729, allocations: 23.94 kB / 0.8641 GB, free: 4.07 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-05/0.729, allocations: 31.92 kB / 0.8642 GB, free: 4.039 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006447/0.7297, allocations: 378.4 kB / 0.8645 GB, free: 3.672 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002696/0.7324, allocations: 3.215 MB / 0.8677 GB, free: 320 kB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002587/0.7327, allocations: 222.1 kB / 0.8679 GB, free: 4 kB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3461/1.079, allocations: 118 kB / 0.868 GB, free: 189.8 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/1.079, allocations: 6.828 kB / 0.868 GB, free: 189.8 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/1.079, allocations: 48.22 kB / 0.868 GB, free: 189.7 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=10): time 2.194e-06/1.079, allocations: 0 / 0.868 GB, free: 189.7 MB / 0.6856 GB Notification: Performance of matching and sorting (n=10): time 0.0008388/1.08, allocations: 251.1 kB / 0.8683 GB, free: 189.7 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.084e-05/1.08, allocations: 292 kB / 0.8686 GB, free: 189.4 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008915/1.081, allocations: 0.6865 MB / 0.8692 GB, free: 189.2 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/1.081, allocations: 27.64 kB / 0.8693 GB, free: 189.2 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001904/1.081, allocations: 273.1 kB / 0.8695 GB, free: 189 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.866e-05/1.081, allocations: 32.31 kB / 0.8695 GB, free: 188.9 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.775e-05/1.081, allocations: 28.53 kB / 0.8696 GB, free: 188.9 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001118/1.081, allocations: 367.5 kB / 0.8699 GB, free: 188.6 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/1.081, allocations: 41.08 kB / 0.87 GB, free: 188.6 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/1.081, allocations: 91.8 kB / 0.87 GB, free: 188.5 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002284/1.082, allocations: 127.8 kB / 0.8702 GB, free: 188.5 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/1.082, allocations: 1.125 kB / 0.8702 GB, free: 188.5 MB / 0.6856 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003433/1.082, allocations: 191.4 kB / 0.8704 GB, free: 188.4 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/1.082, allocations: 8.891 kB / 0.8704 GB, free: 188.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/1.082, allocations: 3.531 kB / 0.8704 GB, free: 188.4 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/1.082, allocations: 2.469 kB / 0.8704 GB, free: 188.4 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002313/1.082, allocations: 41.69 kB / 0.8704 GB, free: 188.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/1.082, allocations: 2.953 kB / 0.8704 GB, free: 188.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002376/1.083, allocations: 65.77 kB / 0.8705 GB, free: 188.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.844e-05/1.083, allocations: 9.391 kB / 0.8705 GB, free: 188.3 MB / 0.6856 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.0002043/1.083, allocations: 206.4 kB / 0.8707 GB, free: 188.2 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000217/1.083, allocations: 60.83 kB / 0.8707 GB, free: 188.2 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.098e-05/1.083, allocations: 60.03 kB / 0.8708 GB, free: 188.1 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/1.083, allocations: 3.094 kB / 0.8708 GB, free: 188.1 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-06/1.083, allocations: 2.875 kB / 0.8708 GB, free: 188.1 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/1.083, allocations: 7.172 kB / 0.8708 GB, free: 188.1 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/1.084, allocations: 1.3 MB / 0.8721 GB, free: 187 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/1.085, allocations: 2.875 kB / 0.8721 GB, free: 187 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/1.085, allocations: 43 kB / 0.8721 GB, free: 187 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-06/1.085, allocations: 2.875 kB / 0.8721 GB, free: 187 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/1.085, allocations: 11.78 kB / 0.8721 GB, free: 187 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/1.085, allocations: 3.469 kB / 0.8721 GB, free: 187 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.085, allocations: 6.375 kB / 0.8721 GB, free: 187 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003721/1.085, allocations: 327.6 kB / 0.8725 GB, free: 186.8 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/1.085, allocations: 152.6 kB / 0.8726 GB, free: 186.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.007e-05/1.085, allocations: 8.422 kB / 0.8726 GB, free: 186.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/1.086, allocations: 10.77 kB / 0.8726 GB, free: 186.6 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.279e-05/1.086, allocations: 13.47 kB / 0.8726 GB, free: 186.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/1.086, allocations: 5.5 kB / 0.8726 GB, free: 186.6 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005981/1.086, allocations: 0.4948 MB / 0.8731 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.31e-07/1.086, allocations: 3.438 kB / 0.8731 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0004073/1.087, allocations: 89.25 kB / 0.8732 GB, free: 186.4 MB / 0.6856 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.0007625/1.087, allocations: 0.9113 MB / 0.8741 GB, free: 185.6 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0003283/1.088, allocations: 106.8 kB / 0.8742 GB, free: 185.6 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.088, allocations: 0.9062 kB / 0.8742 GB, free: 185.6 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001434/1.088, allocations: 63.92 kB / 0.8743 GB, free: 185.6 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/1.089, allocations: 272.2 kB / 0.8745 GB, free: 185.5 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005669/1.095, allocations: 4.441 MB / 0.8789 GB, free: 183.2 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005183/1.095, allocations: 0.9054 MB / 0.8797 GB, free: 182.4 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003702/1.096, allocations: 107.8 kB / 0.8798 GB, free: 182.4 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001876/1.096, allocations: 169.8 kB / 0.88 GB, free: 182.3 MB / 0.6856 GB Notification: Performance of SimCode: time 5.41e-07/1.096, allocations: 0 / 0.88 GB, free: 182.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03663/1.133, allocations: 13.82 MB / 0.8935 GB, free: 175.8 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.363/9.496, allocations: 15.52 kB / 0.8935 GB, free: 175.8 MB / 0.6856 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Examples_PropertySource_h.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)