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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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.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.0009686/0.0009685, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009666/0.0009666, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.034/1.034, allocations: 143.3 MB / 434.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003351/0.0003352, allocations: 8 kB / 0.5159 GB, free: 11.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1673, allocations: 83.41 MB / 0.5973 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.4514/0.6188, allocations: 140.2 MB / 0.7342 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003024/0.6219, allocations: 1.571 MB / 0.7358 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003162/0.6222, allocations: 13.75 kB / 0.7358 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007185/0.623, allocations: 172.7 kB / 0.736 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001606/0.6246, allocations: 0.515 MB / 0.7365 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001551/0.6261, allocations: 493.6 kB / 0.7369 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006984/0.6268, allocations: 433 kB / 0.7373 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003842/0.6272, allocations: 180.5 kB / 0.7375 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008849/0.6281, allocations: 334.1 kB / 0.7378 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002666/0.6284, allocations: 149.3 kB / 0.738 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.488e-05/0.6285, allocations: 21.31 kB / 0.738 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001249/0.6297, allocations: 421.7 kB / 0.7384 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001342/0.6299, allocations: 86.88 kB / 0.7385 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.996e-05/0.63, allocations: 85.58 kB / 0.7386 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007322/0.6307, allocations: 413.4 kB / 0.739 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.6307, allocations: 0 / 0.739 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.094e-06/0.6307, allocations: 3.938 kB / 0.739 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.6307, allocations: 0 / 0.739 GB, free: 9.918 MB / 0.5606 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.001014/0.6318, allocations: 0.5968 MB / 0.7395 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.6318, allocations: 8.828 kB / 0.7396 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.8e-05/0.6319, allocations: 55.2 kB / 0.7396 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/0.6331, allocations: 160.2 kB / 0.7398 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004703/0.6336, allocations: 303.6 kB / 0.7401 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/0.6337, allocations: 20.42 kB / 0.7401 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.265e-05/0.6337, allocations: 28 kB / 0.7401 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005243/0.6342, allocations: 272.8 kB / 0.7404 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.6343, allocations: 3.938 kB / 0.7404 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.497e-05/0.6343, allocations: 8 kB / 0.7404 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.6343, allocations: 8 kB / 0.7404 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004428/0.6348, allocations: 206 kB / 0.7406 GB, free: 8.344 MB / 0.5606 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.001566/0.6363, allocations: 1.209 MB / 0.7418 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003116/0.6367, allocations: 143.8 kB / 0.7419 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000466/0.6371, allocations: 141.8 kB / 0.742 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.6372, allocations: 30.56 kB / 0.7421 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.713e-06/0.6372, allocations: 0 / 0.7421 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0008322/0.638, allocations: 297.3 kB / 0.7423 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.6381, allocations: 52.25 kB / 0.7424 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003572/0.6384, allocations: 315.8 kB / 0.7427 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.6385, allocations: 29.7 kB / 0.7427 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.6386, allocations: 179.9 kB / 0.7429 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.837e-05/0.6387, allocations: 52.47 kB / 0.7429 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.189e-05/0.6387, allocations: 8 kB / 0.7429 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.6389, allocations: 339.2 kB / 0.7433 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001762/0.6391, allocations: 76.45 kB / 0.7433 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.6393, allocations: 122.5 kB / 0.7435 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.6395, allocations: 86.09 kB / 0.7435 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.6395, allocations: 4 kB / 0.7435 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000513/0.64, allocations: 252.7 kB / 0.7438 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.6401, allocations: 4.562 kB / 0.7438 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.6401, allocations: 4 kB / 0.7438 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.6401, allocations: 0.5625 kB / 0.7438 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002192/0.6403, allocations: 45.98 kB / 0.7438 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.6403, allocations: 5.266 kB / 0.7438 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002196/0.6406, allocations: 39.61 kB / 0.7439 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.127e-05/0.6406, allocations: 9.641 kB / 0.7439 GB, free: 5.086 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001799/0.6408, allocations: 158.1 kB / 0.744 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.699e-05/0.6408, allocations: 23.72 kB / 0.7441 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005251/0.6414, allocations: 235 kB / 0.7443 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.6414, allocations: 4.547 kB / 0.7443 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.6414, allocations: 0 / 0.7443 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.6414, allocations: 0.6562 kB / 0.7443 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001151/0.6426, allocations: 0.6975 MB / 0.745 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.6426, allocations: 0 / 0.745 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000176/0.6428, allocations: 36.95 kB / 0.745 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.6428, allocations: 4.516 kB / 0.745 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.6428, allocations: 4 kB / 0.745 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.6428, allocations: 4.547 kB / 0.745 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.804e-06/0.6428, allocations: 8.969 kB / 0.745 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007992/0.6436, allocations: 0.5174 MB / 0.7455 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.6438, allocations: 127 kB / 0.7457 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.559e-05/0.6438, allocations: 9.359 kB / 0.7457 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.644, allocations: 22.98 kB / 0.7457 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.624e-05/0.6441, allocations: 12.17 kB / 0.7457 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.6441, allocations: 8 kB / 0.7457 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002955/0.6444, allocations: 226.5 kB / 0.7459 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6444, allocations: 4 kB / 0.7459 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004474/0.6449, allocations: 72.7 kB / 0.746 GB, free: 2.973 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001411/0.6463, allocations: 1.624 MB / 0.7476 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004637/0.6468, allocations: 173.3 kB / 0.7477 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.6468, allocations: 3.938 kB / 0.7478 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001864/0.647, allocations: 89.39 kB / 0.7478 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008198/0.6478, allocations: 158.6 kB / 0.748 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002942/0.6508, allocations: 2.501 MB / 0.7504 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004066/0.6512, allocations: 0.7861 MB / 0.7512 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002417/0.6514, allocations: 66.5 kB / 0.7513 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.6516, allocations: 87.03 kB / 0.7513 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of SimCode: time 3.8e-07/0.6516, allocations: 0 / 0.7513 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02277/0.6744, allocations: 8.252 MB / 0.7594 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000304/0.6747, allocations: 222.8 kB / 0.7596 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.913/2.588, allocations: 0 / 0.7596 GB, free: 5.578 MB / 0.5762 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/linux/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) Environment - environmentSimulation: