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.001306/0.001306, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001459/0.001459, allocations: 200.8 kB / 16.26 MB, free: 6.621 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.249/1.249, allocations: 222.9 MB / 239.9 MB, free: 4.523 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 0.9177/0.9177, allocations: 143 MB / 433.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 63.89 kB / 0.5138 GB, free: 11.87 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1427, allocations: 82.04 MB / 0.5939 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.43/0.5728, allocations: 165.1 MB / 0.7552 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002575/0.5754, allocations: 1.545 MB / 0.7567 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000376/0.5758, allocations: 11.94 kB / 0.7567 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004532/0.5763, allocations: 123.2 kB / 0.7568 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001551/0.5779, allocations: 0.6614 MB / 0.7574 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001357/0.5792, allocations: 0.5614 MB / 0.758 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007625/0.58, allocations: 0.709 MB / 0.7587 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003578/0.5804, allocations: 217.1 kB / 0.7589 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005742/0.581, allocations: 342.7 kB / 0.7592 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002888/0.5813, allocations: 231 kB / 0.7594 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.967e-05/0.5813, allocations: 20 kB / 0.7595 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001223/0.5825, allocations: 0.8961 MB / 0.7603 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001416/0.5827, allocations: 115.6 kB / 0.7604 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001707/0.5829, allocations: 171.2 kB / 0.7606 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001042/0.5839, allocations: 0.783 MB / 0.7614 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.5839, allocations: 0 / 0.7614 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.262e-06/0.584, allocations: 0 / 0.7614 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.584, allocations: 4 kB / 0.7614 GB, free: 2.094 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009128/0.5849, allocations: 0.6504 MB / 0.762 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.5849, allocations: 12.03 kB / 0.762 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.223e-05/0.585, allocations: 58.55 kB / 0.7621 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/0.5862, allocations: 155.4 kB / 0.7622 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00038/0.5866, allocations: 297.7 kB / 0.7625 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.5866, allocations: 20.44 kB / 0.7625 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.217e-05/0.5867, allocations: 20 kB / 0.7625 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004605/0.5871, allocations: 283.4 kB / 0.7628 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.5872, allocations: 0 / 0.7628 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/0.5872, allocations: 12 kB / 0.7628 GB, free: 496 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.5872, allocations: 4 kB / 0.7628 GB, free: 492 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003892/0.5876, allocations: 199.8 kB / 0.763 GB, free: 292 kB / 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.00134/0.5889, allocations: 1.211 MB / 0.7642 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002737/0.5892, allocations: 138.5 kB / 0.7643 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/0.5894, allocations: 89.66 kB / 0.7644 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006314/0.5901, allocations: 299.2 kB / 0.7647 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.5901, allocations: 42.5 kB / 0.7648 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.333e-06/0.5901, allocations: 0 / 0.7648 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0007661/0.5909, allocations: 282.2 kB / 0.765 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.5909, allocations: 51.41 kB / 0.7651 GB, free: 14 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003038/0.5912, allocations: 316.5 kB / 0.7654 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.5913, allocations: 33.7 kB / 0.7654 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.5914, allocations: 188 kB / 0.7656 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.27e-05/0.5915, allocations: 51.2 kB / 0.7656 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.622e-05/0.5915, allocations: 45.7 kB / 0.7657 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.5917, allocations: 338.8 kB / 0.766 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.5918, allocations: 63.95 kB / 0.7661 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001991/0.592, allocations: 125 kB / 0.7662 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003297/0.5924, allocations: 193.4 kB / 0.7664 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5924, allocations: 0 / 0.7664 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004415/0.5928, allocations: 243.1 kB / 0.7666 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.5928, allocations: 8 kB / 0.7666 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.5929, allocations: 0 / 0.7666 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.5929, allocations: 4.688 kB / 0.7666 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001899/0.5931, allocations: 43.91 kB / 0.7666 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.5931, allocations: 8.094 kB / 0.7667 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/0.5933, allocations: 31.73 kB / 0.7667 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.508e-05/0.5933, allocations: 8 kB / 0.7667 GB, free: 12.26 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.0001384/0.5935, allocations: 153.7 kB / 0.7668 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.709e-05/0.5935, allocations: 32.12 kB / 0.7669 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004508/0.594, allocations: 217.5 kB / 0.7671 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.594, allocations: 0 / 0.7671 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.594, allocations: 0.5625 kB / 0.7671 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.594, allocations: 3.984 kB / 0.7671 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.5951, allocations: 0.6873 MB / 0.7678 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.5951, allocations: 0.5625 kB / 0.7678 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/0.5952, allocations: 35.86 kB / 0.7678 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.5953, allocations: 7.938 kB / 0.7678 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.5953, allocations: 4 kB / 0.7678 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.5953, allocations: 7.594 kB / 0.7678 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.5953, allocations: 7.984 kB / 0.7678 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006013/0.5959, allocations: 430.8 kB / 0.7682 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.596, allocations: 120.7 kB / 0.7683 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.469e-05/0.5961, allocations: 11.94 kB / 0.7684 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/0.5963, allocations: 11.98 kB / 0.7684 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.958e-05/0.5963, allocations: 23.98 kB / 0.7684 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.5963, allocations: 4 kB / 0.7684 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000204/0.5966, allocations: 227 kB / 0.7686 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5966, allocations: 0 / 0.7686 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003748/0.5969, allocations: 79.91 kB / 0.7687 GB, free: 10.08 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.001074/0.598, allocations: 1.022 MB / 0.7697 GB, free: 9.012 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004064/0.5984, allocations: 181.5 kB / 0.7699 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5985, allocations: 7.938 kB / 0.7699 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001876/0.5986, allocations: 83.88 kB / 0.7699 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008467/0.5995, allocations: 171.2 kB / 0.7701 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003296/0.6028, allocations: 3.007 MB / 0.773 GB, free: 5.457 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.6031, allocations: 0.7833 MB / 0.7738 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001988/0.6033, allocations: 64.36 kB / 0.7739 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.6035, allocations: 95.41 kB / 0.774 GB, free: 4.496 MB / 0.5919 GB Notification: Performance of SimCode: time 2.9e-07/0.6035, allocations: 0 / 0.774 GB, free: 4.496 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2424/0.8459, allocations: 8.613 MB / 0.7824 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002779/0.8462, allocations: 252 kB / 0.7826 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.966/2.812, allocations: 0 / 0.7826 GB, free: 11.89 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)