Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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: translateModel(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 109.8 kB / 16.41 MB, free: 6.496 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.001088/0.001088, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7944/0.7944, allocations: 126.1 MB / 417.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 65.2 kB / 0.5731 GB, free: 27.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1857, allocations: 78.71 MB / 0.65 GB, free: 4.066 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.708/0.8937, allocations: 167.4 MB / 0.8134 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002839/0.8966, allocations: 1.548 MB / 0.8149 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003468/0.897, allocations: 15.94 kB / 0.8149 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000542/0.8976, allocations: 150.2 kB / 0.8151 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001939/0.8996, allocations: 0.6982 MB / 0.8157 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00175/0.9013, allocations: 0.6046 MB / 0.8163 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0007919/0.9021, allocations: 0.698 MB / 0.817 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003539/0.9025, allocations: 227.2 kB / 0.8172 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005763/0.9031, allocations: 336.3 kB / 0.8175 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002575/0.9033, allocations: 216.5 kB / 0.8178 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.298e-05/0.9034, allocations: 26.59 kB / 0.8178 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001495/0.9049, allocations: 0.8681 MB / 0.8186 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.905, allocations: 113.5 kB / 0.8187 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001569/0.9052, allocations: 162.8 kB / 0.8189 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.9063, allocations: 0.7279 MB / 0.8196 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.9063, allocations: 0 / 0.8196 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.383e-06/0.9063, allocations: 0 / 0.8196 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.9063, allocations: 2.5 kB / 0.8196 GB, free: 9.348 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.000961/0.9073, allocations: 0.6611 MB / 0.8202 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.9073, allocations: 10.19 kB / 0.8203 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/0.9084, allocations: 158 kB / 0.8204 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005289/0.909, allocations: 318.8 kB / 0.8207 GB, free: 8.391 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.909, allocations: 22.52 kB / 0.8207 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.78e-05/0.909, allocations: 23 kB / 0.8208 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005352/0.9096, allocations: 274.4 kB / 0.821 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.9096, allocations: 0 / 0.821 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.136e-05/0.9096, allocations: 10.38 kB / 0.821 GB, free: 8.176 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.9097, allocations: 5.562 kB / 0.821 GB, free: 8.176 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003968/0.9101, allocations: 197.6 kB / 0.8212 GB, free: 8.086 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.001395/0.9115, allocations: 1.217 MB / 0.8224 GB, free: 6.973 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000276/0.9117, allocations: 138.9 kB / 0.8225 GB, free: 6.891 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/0.9119, allocations: 90.83 kB / 0.8226 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005483/0.9125, allocations: 304.6 kB / 0.8229 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.9125, allocations: 30.56 kB / 0.8229 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.703e-06/0.9125, allocations: 0 / 0.8229 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0007443/0.9133, allocations: 287.6 kB / 0.8232 GB, free: 6.348 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.9133, allocations: 55.41 kB / 0.8233 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000307/0.9136, allocations: 318.4 kB / 0.8236 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.9137, allocations: 29.7 kB / 0.8236 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.9138, allocations: 185.5 kB / 0.8238 GB, free: 5.879 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.963e-05/0.9139, allocations: 50.88 kB / 0.8238 GB, free: 5.836 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.432e-05/0.9139, allocations: 55.47 kB / 0.8239 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.9141, allocations: 342.1 kB / 0.8242 GB, free: 5.457 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.9142, allocations: 65.55 kB / 0.8243 GB, free: 5.43 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/0.9144, allocations: 125.1 kB / 0.8244 GB, free: 5.336 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003536/0.9148, allocations: 185 kB / 0.8246 GB, free: 5.215 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.9148, allocations: 0 / 0.8246 GB, free: 5.215 MB / 0.5919 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004353/0.9153, allocations: 243.1 kB / 0.8248 GB, free: 5.082 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.9153, allocations: 8 kB / 0.8248 GB, free: 5.082 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.9153, allocations: 0 / 0.8248 GB, free: 5.082 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.9153, allocations: 2.094 kB / 0.8248 GB, free: 5.082 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.9155, allocations: 49.06 kB / 0.8249 GB, free: 5.066 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.9155, allocations: 6.031 kB / 0.8249 GB, free: 5.062 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/0.9157, allocations: 33.86 kB / 0.8249 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.81e-05/0.9158, allocations: 7.375 kB / 0.8249 GB, free: 5.039 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.0001432/0.9159, allocations: 155.6 kB / 0.825 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.271e-05/0.916, allocations: 30.77 kB / 0.8251 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004615/0.9164, allocations: 220.5 kB / 0.8253 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.9164, allocations: 2.969 kB / 0.8253 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.9164, allocations: 0 / 0.8253 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.9165, allocations: 3.984 kB / 0.8253 GB, free: 4.742 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009814/0.9174, allocations: 0.6836 MB / 0.826 GB, free: 4.168 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.9175, allocations: 4.812 kB / 0.826 GB, free: 4.168 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.9176, allocations: 38.95 kB / 0.826 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.9176, allocations: 4.312 kB / 0.826 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.9177, allocations: 3.125 kB / 0.826 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.9177, allocations: 6.625 kB / 0.826 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.9177, allocations: 6.109 kB / 0.826 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007711/0.9184, allocations: 428.4 kB / 0.8264 GB, free: 3.824 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.9186, allocations: 131.4 kB / 0.8266 GB, free: 3.691 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.54e-05/0.9186, allocations: 6.312 kB / 0.8266 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/0.9188, allocations: 17.64 kB / 0.8266 GB, free: 3.676 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.818e-05/0.9189, allocations: 14.83 kB / 0.8266 GB, free: 3.668 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.9189, allocations: 5.656 kB / 0.8266 GB, free: 3.668 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002041/0.9191, allocations: 222.1 kB / 0.8268 GB, free: 3.523 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9191, allocations: 0 / 0.8268 GB, free: 3.523 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003792/0.9195, allocations: 79.77 kB / 0.8269 GB, free: 3.512 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.000407/0.9199, allocations: 170.5 kB / 0.8271 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004143/0.9203, allocations: 175 kB / 0.8272 GB, free: 3.312 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.9203, allocations: 192 / 0.8272 GB, free: 3.312 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001803/0.9205, allocations: 87.64 kB / 0.8273 GB, free: 3.273 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009044/0.9214, allocations: 167.1 kB / 0.8275 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.9227, allocations: 0.6095 MB / 0.8281 GB, free: 2.727 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005843/0.9233, allocations: 0.7825 MB / 0.8288 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001779/0.9235, allocations: 56.09 kB / 0.8289 GB, free: 1.961 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.145e-05/0.9236, allocations: 28.38 kB / 0.8289 GB, free: 1.953 MB / 0.5919 GB Notification: Performance of SimCode: time 2.2e-07/0.9236, allocations: 2.625 kB / 0.8289 GB, free: 1.953 MB / 0.5919 GB Notification: Performance of Templates: time 0.01131/0.9349, allocations: 5.756 MB / 0.8345 GB, free: 15.13 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)