Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_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.001159/0.001159, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.185/1.185, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001956/0.001956, allocations: 282.7 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8546/0.8546, allocations: 169.3 MB / 0.4982 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 98.25 kB / 0.5953 GB, free: 27.82 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1225, allocations: 86.98 MB / 0.6803 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.3815/0.504, allocations: 167.5 MB / 0.8439 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005568/0.5096, allocations: 6.546 MB / 0.8503 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002461/0.5099, allocations: 12.38 kB / 0.8503 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004206/0.5103, allocations: 168.7 kB / 0.8504 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001594/0.5119, allocations: 0.8485 MB / 0.8513 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006854/0.5126, allocations: 324.1 kB / 0.8516 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005489/0.5132, allocations: 0.7188 MB / 0.8523 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003496/0.5136, allocations: 279.7 kB / 0.8525 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007574/0.5143, allocations: 0.5478 MB / 0.8531 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002844/0.5146, allocations: 270.3 kB / 0.8533 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.509e-05/0.5147, allocations: 23.56 kB / 0.8534 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004689/0.5151, allocations: 332.8 kB / 0.8537 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.867e-05/0.5152, allocations: 105.6 kB / 0.8538 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.5154, allocations: 174.8 kB / 0.8539 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000461/0.5159, allocations: 467 kB / 0.8544 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.5159, allocations: 3.984 kB / 0.8544 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.72e-07/0.5159, allocations: 0 / 0.8544 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.5159, allocations: 0 / 0.8544 GB, free: 10.43 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0006769/0.5166, allocations: 0.6176 MB / 0.855 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.825e-05/0.5166, allocations: 10.72 kB / 0.855 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.729e-05/0.5167, allocations: 62.62 kB / 0.8551 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002525/0.5169, allocations: 62.62 kB / 0.8551 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003119/0.5172, allocations: 312.2 kB / 0.8554 GB, free: 9.477 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.5173, allocations: 18.91 kB / 0.8554 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.247e-05/0.5173, allocations: 26.88 kB / 0.8555 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004414/0.5178, allocations: 312 kB / 0.8558 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.5178, allocations: 5.5 kB / 0.8558 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.5178, allocations: 9.625 kB / 0.8558 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.5178, allocations: 8 kB / 0.8558 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003617/0.5182, allocations: 202.2 kB / 0.856 GB, free: 9.145 MB / 0.5762 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.001262/0.5194, allocations: 1.542 MB / 0.8575 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/0.5197, allocations: 120.2 kB / 0.8576 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.5198, allocations: 86.72 kB / 0.8577 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005525/0.5204, allocations: 309.9 kB / 0.858 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.5204, allocations: 36.62 kB / 0.858 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.5204, allocations: 0 / 0.858 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0006258/0.5211, allocations: 270.8 kB / 0.8583 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.5211, allocations: 55.41 kB / 0.8583 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002535/0.5213, allocations: 313.9 kB / 0.8586 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.5214, allocations: 28.45 kB / 0.8586 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.5215, allocations: 185.1 kB / 0.8588 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.996e-05/0.5215, allocations: 40.7 kB / 0.8589 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.463e-05/0.5216, allocations: 38.42 kB / 0.8589 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.5217, allocations: 333.6 kB / 0.8592 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.5218, allocations: 63.58 kB / 0.8593 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/0.522, allocations: 114.4 kB / 0.8594 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002907/0.5223, allocations: 175.2 kB / 0.8596 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.5223, allocations: 6.375 kB / 0.8596 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003578/0.5227, allocations: 211.1 kB / 0.8598 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.5227, allocations: 13.08 kB / 0.8598 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.5227, allocations: 2.844 kB / 0.8598 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.5227, allocations: 1.781 kB / 0.8598 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/0.5229, allocations: 39.14 kB / 0.8598 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.5229, allocations: 2.719 kB / 0.8598 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001557/0.5231, allocations: 25.2 kB / 0.8598 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.597e-05/0.5231, allocations: 11.88 kB / 0.8599 GB, free: 5.805 MB / 0.5762 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.0001145/0.5232, allocations: 148.4 kB / 0.86 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.616e-05/0.5233, allocations: 31.84 kB / 0.86 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003882/0.5237, allocations: 208.1 kB / 0.8602 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.5237, allocations: 10.44 kB / 0.8602 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.5237, allocations: 1.5 kB / 0.8602 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.5237, allocations: 0 / 0.8602 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008469/0.5245, allocations: 0.6888 MB / 0.8609 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.5245, allocations: 2.531 kB / 0.8609 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.5247, allocations: 28.67 kB / 0.8609 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.5247, allocations: 10.39 kB / 0.8609 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.5247, allocations: 4.938 kB / 0.861 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.5247, allocations: 5.375 kB / 0.861 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.5247, allocations: 2.781 kB / 0.861 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003707/0.5251, allocations: 333.6 kB / 0.8613 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.9e-05/0.5252, allocations: 124.2 kB / 0.8614 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.393e-05/0.5252, allocations: 2.406 kB / 0.8614 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.5254, allocations: 13.11 kB / 0.8614 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/0.5254, allocations: 19.44 kB / 0.8614 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.5254, allocations: 8.688 kB / 0.8614 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001779/0.5256, allocations: 220.4 kB / 0.8616 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5256, allocations: 0 / 0.8616 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003103/0.5259, allocations: 71.94 kB / 0.8617 GB, free: 4.336 MB / 0.5762 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.0008142/0.5268, allocations: 0.9296 MB / 0.8626 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003529/0.5271, allocations: 163 kB / 0.8628 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5271, allocations: 0 / 0.8628 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.5273, allocations: 85.72 kB / 0.8629 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007164/0.528, allocations: 152.1 kB / 0.863 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002787/0.5308, allocations: 2.82 MB / 0.8658 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.5311, allocations: 0.7802 MB / 0.8665 GB, free: 416 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00018/0.5313, allocations: 62.98 kB / 0.8666 GB, free: 392 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.5314, allocations: 90.72 kB / 0.8667 GB, free: 316 kB / 0.5762 GB Notification: Performance of SimCode: time 2.51e-07/0.5314, allocations: 0 / 0.8667 GB, free: 316 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.241/2.773, allocations: 8.048 MB / 0.8745 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.279/10.05, allocations: 13.97 kB / 0.8745 GB, free: 12.34 MB / 0.5919 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)