Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.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.Sensors.Examples.VolumeFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate",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.001552/0.001552, allocations: 108 kB / 15.61 MB, free: 152 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.002103/0.002103, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.416/1.416, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.025/1.025, allocations: 143 MB / 433.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002282/0.002282, allocations: 67.91 kB / 0.5143 GB, free: 11.6 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.1913, allocations: 82.04 MB / 0.5944 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.4815/0.6728, allocations: 167.4 MB / 0.7579 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002784/0.6757, allocations: 1.552 MB / 0.7594 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003301/0.676, allocations: 15.88 kB / 0.7594 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004821/0.6765, allocations: 142.9 kB / 0.7595 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001998/0.6785, allocations: 0.7 MB / 0.7602 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001763/0.6803, allocations: 0.6004 MB / 0.7608 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007617/0.6811, allocations: 0.6974 MB / 0.7615 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003793/0.6815, allocations: 241 kB / 0.7617 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005723/0.6821, allocations: 338.7 kB / 0.762 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002867/0.6824, allocations: 215.1 kB / 0.7622 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.276e-05/0.6824, allocations: 20 kB / 0.7623 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001416/0.6838, allocations: 0.8689 MB / 0.7631 GB, free: 496 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.684, allocations: 107.7 kB / 0.7632 GB, free: 388 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001571/0.6841, allocations: 171.2 kB / 0.7634 GB, free: 216 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009513/0.6851, allocations: 0.7324 MB / 0.7641 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.6851, allocations: 0 / 0.7641 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6851, allocations: 0 / 0.7641 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.6851, allocations: 0 / 0.7641 GB, free: 15.48 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009753/0.6861, allocations: 0.6426 MB / 0.7647 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.6862, allocations: 12.03 kB / 0.7647 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.897e-05/0.6862, allocations: 62.53 kB / 0.7648 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/0.6874, allocations: 159.4 kB / 0.7649 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003815/0.6878, allocations: 297.7 kB / 0.7652 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.6879, allocations: 16.44 kB / 0.7652 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.918e-05/0.6879, allocations: 20 kB / 0.7653 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004613/0.6884, allocations: 283.4 kB / 0.7655 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.6884, allocations: 0 / 0.7655 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/0.6884, allocations: 12 kB / 0.7655 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.6884, allocations: 4 kB / 0.7655 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004015/0.6888, allocations: 195.8 kB / 0.7657 GB, free: 13.68 MB / 0.5919 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.001325/0.6902, allocations: 1.219 MB / 0.7669 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002663/0.6905, allocations: 134.5 kB / 0.7671 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.6906, allocations: 88.81 kB / 0.7671 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006272/0.6913, allocations: 311.2 kB / 0.7674 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.6913, allocations: 34.5 kB / 0.7675 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.343e-06/0.6913, allocations: 0 / 0.7675 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0007447/0.6921, allocations: 286.3 kB / 0.7677 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.6921, allocations: 51.41 kB / 0.7678 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002901/0.6924, allocations: 320.5 kB / 0.7681 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.6924, allocations: 25.7 kB / 0.7681 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.6926, allocations: 184.1 kB / 0.7683 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.661e-05/0.6926, allocations: 55.2 kB / 0.7683 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.144e-05/0.6927, allocations: 45.7 kB / 0.7684 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.6928, allocations: 338.8 kB / 0.7687 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/0.693, allocations: 63.95 kB / 0.7688 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002026/0.6932, allocations: 123.8 kB / 0.7689 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003478/0.6936, allocations: 197.4 kB / 0.7691 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.6936, allocations: 0 / 0.7691 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004524/0.694, allocations: 237.2 kB / 0.7693 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.6941, allocations: 8 kB / 0.7693 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.6941, allocations: 0 / 0.7693 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.6941, allocations: 7.938 kB / 0.7693 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/0.6943, allocations: 44.47 kB / 0.7694 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.6943, allocations: 0 / 0.7694 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/0.6945, allocations: 31.73 kB / 0.7694 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.684e-05/0.6946, allocations: 8.812 kB / 0.7694 GB, free: 9.652 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 (22): * Single equations (assignments): 22 * 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.0001424/0.6947, allocations: 161.7 kB / 0.7696 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.961e-05/0.6948, allocations: 31.77 kB / 0.7696 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004683/0.6953, allocations: 218 kB / 0.7698 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.6953, allocations: 0 / 0.7698 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.6953, allocations: 0 / 0.7698 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.6953, allocations: 4 kB / 0.7698 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000996/0.6963, allocations: 0.6873 MB / 0.7705 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.6963, allocations: 0 / 0.7705 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001681/0.6965, allocations: 40.12 kB / 0.7705 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.6965, allocations: 7.938 kB / 0.7705 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.6965, allocations: 4 kB / 0.7705 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.6965, allocations: 4 kB / 0.7705 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.6965, allocations: 0 / 0.7705 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006209/0.6972, allocations: 437.9 kB / 0.7709 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.6973, allocations: 116.8 kB / 0.7711 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.552e-05/0.6973, allocations: 11.92 kB / 0.7711 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.6975, allocations: 12.06 kB / 0.7711 GB, free: 7.797 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.544e-05/0.6976, allocations: 15.92 kB / 0.7711 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.6976, allocations: 8 kB / 0.7711 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002024/0.6978, allocations: 227 kB / 0.7713 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.7e-07/0.6978, allocations: 0 / 0.7713 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003721/0.6982, allocations: 79.91 kB / 0.7714 GB, free: 7.473 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * 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 (15): * Single equations (assignments): 15 * 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.001164/0.6993, allocations: 1.031 MB / 0.7724 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000436/0.6998, allocations: 175.7 kB / 0.7726 GB, free: 6.227 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.6998, allocations: 3.938 kB / 0.7726 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001849/0.7, allocations: 83.88 kB / 0.7726 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008894/0.7009, allocations: 174.1 kB / 0.7728 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003347/0.7042, allocations: 2.924 MB / 0.7757 GB, free: 2.93 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.7046, allocations: 0.7795 MB / 0.7764 GB, free: 2.125 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002204/0.7048, allocations: 65 kB / 0.7765 GB, free: 2.066 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.7049, allocations: 83.42 kB / 0.7766 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of SimCode: time 3.81e-07/0.7049, allocations: 0 / 0.7766 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02536/0.7303, allocations: 8.788 MB / 0.7852 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.466/8.196, allocations: 4.938 kB / 0.7852 GB, free: 9.398 MB / 0.6075 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)