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.001143/0.001143, allocations: 110.2 kB / 15.99 MB, free: 6.352 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.001081/0.001081, allocations: 189.4 kB / 16.9 MB, free: 6.195 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.411/1.411, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8105/0.8105, allocations: 126.1 MB / 416.8 MB, free: 12.99 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 63.91 kB / 0.4945 GB, free: 3.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4275/0.429, allocations: 78.7 MB / 0.5713 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1846/0.6137, allocations: 165.1 MB / 0.7325 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002621/0.6163, allocations: 1.537 MB / 0.734 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003279/0.6167, allocations: 11.88 kB / 0.7341 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004729/0.6172, allocations: 119.3 kB / 0.7342 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001551/0.6188, allocations: 0.6731 MB / 0.7348 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001365/0.6201, allocations: 0.552 MB / 0.7354 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008078/0.621, allocations: 0.7061 MB / 0.7361 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000405/0.6214, allocations: 225 kB / 0.7363 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006544/0.6221, allocations: 342.7 kB / 0.7366 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002976/0.6224, allocations: 227 kB / 0.7368 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.292e-05/0.6224, allocations: 24 kB / 0.7368 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001424/0.6238, allocations: 0.9038 MB / 0.7377 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.624, allocations: 95.72 kB / 0.7378 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001769/0.6242, allocations: 175.2 kB / 0.738 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001281/0.6255, allocations: 0.7752 MB / 0.7387 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.6255, allocations: 0 / 0.7387 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.276e-06/0.6255, allocations: 3.938 kB / 0.7387 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.051e-05/0.6255, allocations: 0 / 0.7387 GB, free: 10.85 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.00122/0.6267, allocations: 0.6505 MB / 0.7394 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.6268, allocations: 8.031 kB / 0.7394 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/0.6281, allocations: 151.5 kB / 0.7395 GB, free: 9.992 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005232/0.6286, allocations: 309.6 kB / 0.7398 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.467e-05/0.6287, allocations: 20.44 kB / 0.7398 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.912e-05/0.6287, allocations: 23.94 kB / 0.7399 GB, free: 9.605 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006221/0.6294, allocations: 271.5 kB / 0.7401 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.6294, allocations: 7.938 kB / 0.7401 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.571e-05/0.6294, allocations: 12 kB / 0.7401 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.6295, allocations: 4 kB / 0.7401 GB, free: 9.297 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005168/0.63, allocations: 199.8 kB / 0.7403 GB, free: 9.102 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.001717/0.6317, allocations: 1.209 MB / 0.7415 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002992/0.632, allocations: 146.3 kB / 0.7417 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001729/0.6322, allocations: 88.8 kB / 0.7417 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007201/0.6329, allocations: 303.2 kB / 0.742 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.633, allocations: 30.56 kB / 0.7421 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.172e-06/0.633, allocations: 0 / 0.7421 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0008591/0.6339, allocations: 283.6 kB / 0.7423 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/0.6339, allocations: 55.41 kB / 0.7424 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003283/0.6343, allocations: 320.5 kB / 0.7427 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.6343, allocations: 25.7 kB / 0.7427 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.6344, allocations: 184.1 kB / 0.7429 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.495e-05/0.6345, allocations: 55.2 kB / 0.7429 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.243e-05/0.6346, allocations: 41.7 kB / 0.743 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002501/0.6348, allocations: 338.8 kB / 0.7433 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.635, allocations: 75.88 kB / 0.7434 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001905/0.6352, allocations: 117.8 kB / 0.7435 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003923/0.6356, allocations: 184.1 kB / 0.7437 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.6356, allocations: 4 kB / 0.7437 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.00043/0.636, allocations: 233.2 kB / 0.7439 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.6361, allocations: 4 kB / 0.7439 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.6361, allocations: 4.094 kB / 0.7439 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.6361, allocations: 4 kB / 0.7439 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/0.6363, allocations: 47.91 kB / 0.7439 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.6363, allocations: 4 kB / 0.7439 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/0.6365, allocations: 31.67 kB / 0.744 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.065e-05/0.6366, allocations: 15.94 kB / 0.744 GB, free: 5.078 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 (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.0001518/0.6367, allocations: 154.6 kB / 0.7441 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.526e-05/0.6368, allocations: 35.77 kB / 0.7442 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004629/0.6372, allocations: 216.3 kB / 0.7444 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.6373, allocations: 7.938 kB / 0.7444 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.6373, allocations: 3.938 kB / 0.7444 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.6373, allocations: 0 / 0.7444 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/0.6385, allocations: 0.6834 MB / 0.7451 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.6386, allocations: 7.938 kB / 0.7451 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/0.6387, allocations: 36.19 kB / 0.7451 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.6387, allocations: 0 / 0.7451 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.6388, allocations: 11.94 kB / 0.7451 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.309e-06/0.6388, allocations: 7.938 kB / 0.7451 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.6388, allocations: 0 / 0.7451 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006924/0.6395, allocations: 434.9 kB / 0.7455 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/0.6396, allocations: 128.7 kB / 0.7457 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.506e-05/0.6397, allocations: 4 kB / 0.7457 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/0.6399, allocations: 20.05 kB / 0.7457 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.745e-05/0.6399, allocations: 7.984 kB / 0.7457 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.64, allocations: 8 kB / 0.7457 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002393/0.6402, allocations: 227 kB / 0.7459 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6402, allocations: 0 / 0.7459 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000405/0.6406, allocations: 79.91 kB / 0.746 GB, free: 2.887 MB / 0.5762 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.0004806/0.6411, allocations: 173.9 kB / 0.7462 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004512/0.6416, allocations: 171.8 kB / 0.7463 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.6416, allocations: 4.188 kB / 0.7463 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001897/0.6418, allocations: 83.83 kB / 0.7464 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009069/0.6427, allocations: 176.7 kB / 0.7466 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.6437, allocations: 0.6981 MB / 0.7473 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/0.6441, allocations: 0.7756 MB / 0.748 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001981/0.6443, allocations: 58.94 kB / 0.7481 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.893e-05/0.6443, allocations: 27.44 kB / 0.7481 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.6444, allocations: 0 / 0.7481 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of Templates: time 0.3025/0.9469, allocations: 5.646 MB / 0.7536 GB, free: 170.2 MB / 0.5762 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)