Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate",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.007953/0.007954, allocations: 99.05 kB / 15.73 MB, free: 6.047 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.001899/0.001899, allocations: 197.4 kB / 16.68 MB, free: 5.969 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.482/1.482, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.049/1.049, allocations: 143.3 MB / 433.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002016, allocations: 63.91 kB / 0.5953 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4187/0.4207, allocations: 82.04 MB / 0.6754 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.202/0.6227, allocations: 167.6 MB / 0.8391 GB, free: 13.95 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.008166/0.631, allocations: 6.557 MB / 0.8455 GB, free: 7.367 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004351/0.6314, allocations: 11.94 kB / 0.8455 GB, free: 7.355 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0005752/0.632, allocations: 170.8 kB / 0.8457 GB, free: 7.188 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002131/0.6342, allocations: 0.844 MB / 0.8465 GB, free: 6.34 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009359/0.6351, allocations: 327 kB / 0.8468 GB, free: 6.023 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0009154/0.6361, allocations: 0.7173 MB / 0.8475 GB, free: 5.301 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004551/0.6365, allocations: 275.5 kB / 0.8478 GB, free: 5.031 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001164/0.6377, allocations: 0.5603 MB / 0.8483 GB, free: 4.469 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004211/0.6381, allocations: 266.9 kB / 0.8486 GB, free: 4.207 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 4.949e-05/0.6382, allocations: 24 kB / 0.8486 GB, free: 4.184 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006854/0.6389, allocations: 343.2 kB / 0.8489 GB, free: 3.848 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.639, allocations: 103.7 kB / 0.849 GB, free: 3.746 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001795/0.6392, allocations: 163.2 kB / 0.8492 GB, free: 3.586 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0007635/0.64, allocations: 491.2 kB / 0.8496 GB, free: 3.109 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.64, allocations: 0 / 0.8496 GB, free: 3.109 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.443e-06/0.64, allocations: 11.88 kB / 0.8496 GB, free: 3.098 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.64, allocations: 0 / 0.8496 GB, free: 3.098 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.000949/0.641, allocations: 0.619 MB / 0.8502 GB, free: 2.43 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.641, allocations: 8.031 kB / 0.8503 GB, free: 2.422 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.233e-05/0.6411, allocations: 62.55 kB / 0.8503 GB, free: 2.352 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000303/0.6414, allocations: 67.67 kB / 0.8504 GB, free: 2.285 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005194/0.642, allocations: 337.3 kB / 0.8507 GB, free: 1.914 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.642, allocations: 16.56 kB / 0.8507 GB, free: 1.898 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.728e-05/0.642, allocations: 28 kB / 0.8507 GB, free: 1.871 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000567/0.6426, allocations: 319.6 kB / 0.851 GB, free: 1.535 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.6426, allocations: 0 / 0.851 GB, free: 1.535 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.853e-05/0.6427, allocations: 12 kB / 0.8511 GB, free: 1.523 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.6427, allocations: 11.98 kB / 0.8511 GB, free: 1.512 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004359/0.6431, allocations: 205.5 kB / 0.8513 GB, free: 1.309 MB / 0.67 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001775/0.6449, allocations: 1.531 MB / 0.8528 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002856/0.6452, allocations: 118.5 kB / 0.8529 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000184/0.6454, allocations: 88.81 kB / 0.853 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006401/0.6461, allocations: 307.2 kB / 0.8533 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.6461, allocations: 30.56 kB / 0.8533 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.6461, allocations: 0 / 0.8533 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of matching and sorting (n=13): time 0.0007965/0.6469, allocations: 277.6 kB / 0.8535 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.647, allocations: 59.34 kB / 0.8536 GB, free: 14.69 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003632/0.6474, allocations: 308.5 kB / 0.8539 GB, free: 14.38 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.6474, allocations: 25.7 kB / 0.8539 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/0.6476, allocations: 184.3 kB / 0.8541 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.438e-05/0.6476, allocations: 51.52 kB / 0.8541 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.553e-05/0.6477, allocations: 37.67 kB / 0.8542 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001733/0.6479, allocations: 342.8 kB / 0.8545 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.648, allocations: 59.95 kB / 0.8546 GB, free: 13.67 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/0.6482, allocations: 109.1 kB / 0.8547 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003453/0.6486, allocations: 177 kB / 0.8548 GB, free: 13.35 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.6486, allocations: 0 / 0.8548 GB, free: 13.35 MB / 0.6856 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004372/0.6491, allocations: 217.3 kB / 0.855 GB, free: 13.13 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.6491, allocations: 7.938 kB / 0.8551 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.6491, allocations: 4 kB / 0.8551 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.6491, allocations: 3.984 kB / 0.8551 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.6493, allocations: 35.92 kB / 0.8551 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.6493, allocations: 0 / 0.8551 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.6495, allocations: 35.98 kB / 0.8551 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.619e-05/0.6495, allocations: 4 kB / 0.8551 GB, free: 13.04 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 (17): * Single equations (assignments): 17 * 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.0001558/0.6497, allocations: 157.6 kB / 0.8553 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.208e-05/0.6498, allocations: 27.81 kB / 0.8553 GB, free: 12.85 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004775/0.6502, allocations: 216.3 kB / 0.8555 GB, free: 12.63 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.6503, allocations: 0 / 0.8555 GB, free: 12.63 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.6503, allocations: 0 / 0.8555 GB, free: 12.63 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.6503, allocations: 8 kB / 0.8555 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/0.6514, allocations: 0.6797 MB / 0.8562 GB, free: 11.87 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.6514, allocations: 0 / 0.8562 GB, free: 11.87 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/0.6516, allocations: 31.98 kB / 0.8562 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.6516, allocations: 48 / 0.8562 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.6516, allocations: 11.92 kB / 0.8562 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/0.6516, allocations: 7.984 kB / 0.8562 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.6516, allocations: 3.938 kB / 0.8562 GB, free: 11.81 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004886/0.6521, allocations: 333.4 kB / 0.8566 GB, free: 11.45 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.6522, allocations: 128.8 kB / 0.8567 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.158e-05/0.6523, allocations: 7.938 kB / 0.8567 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.6524, allocations: 8 kB / 0.8567 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.222e-05/0.6525, allocations: 15.92 kB / 0.8567 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.6525, allocations: 4 kB / 0.8567 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.000245/0.6528, allocations: 227 kB / 0.8569 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6528, allocations: 0 / 0.8569 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.000389/0.6532, allocations: 71.89 kB / 0.857 GB, free: 10.98 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (13): * Single equations (assignments): 13 * 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.001152/0.6543, allocations: 0.9383 MB / 0.8579 GB, free: 9.996 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.000415/0.6548, allocations: 159.8 kB / 0.8581 GB, free: 9.84 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.6548, allocations: 0 / 0.8581 GB, free: 9.84 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001937/0.655, allocations: 84.58 kB / 0.8582 GB, free: 9.758 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008088/0.6558, allocations: 148 kB / 0.8583 GB, free: 9.621 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003702/0.6595, allocations: 2.807 MB / 0.861 GB, free: 6.656 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004556/0.66, allocations: 0.7873 MB / 0.8618 GB, free: 5.844 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002681/0.6603, allocations: 58.94 kB / 0.8619 GB, free: 5.785 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/0.6604, allocations: 91.41 kB / 0.8619 GB, free: 5.699 MB / 0.6856 GB Notification: Performance of SimCode: time 6.61e-07/0.6604, allocations: 4 kB / 0.862 GB, free: 5.695 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9419/1.602, allocations: 8.14 MB / 0.8699 GB, free: 188.4 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.94/11.54, allocations: 10.78 kB / 0.8699 GB, free: 188.4 MB / 0.6856 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)