Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6907/0.6907, allocations: 128.7 MB / 144.5 MB, free: 1.418 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001178/0.001178, allocations: 180.7 kB / 174.2 MB, free: 5.938 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.393/1.393, allocations: 205.1 MB / 408.9 MB, free: 9.715 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001065/0.001064, allocations: 106.3 kB / 485.1 MB, free: 13.58 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 59.12 kB / 0.558 GB, free: 97.53 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1637, allocations: 75.46 MB / 0.6317 GB, free: 33.04 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.00203/0.1658, allocations: 1.345 MB / 0.633 GB, free: 31.68 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007407/0.1665, allocations: 0.604 MB / 0.6336 GB, free: 31.07 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.407e-05/0.1665, allocations: 0 / 0.6336 GB, free: 31.07 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.649e-05/0.1666, allocations: 0 / 0.6336 GB, free: 31.07 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.021e-05/0.1666, allocations: 3.938 kB / 0.6336 GB, free: 31.07 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003475/0.167, allocations: 125.1 kB / 0.6337 GB, free: 30.95 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.094e-05/0.167, allocations: 15.94 kB / 0.6337 GB, free: 30.93 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.02e-05/0.1671, allocations: 8 kB / 0.6337 GB, free: 30.93 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.011e-05/0.1671, allocations: 11.92 kB / 0.6337 GB, free: 30.91 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.705e-05/0.1671, allocations: 8 kB / 0.6337 GB, free: 30.91 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.1672, allocations: 0 / 0.6337 GB, free: 30.91 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003453/0.1675, allocations: 347.2 kB / 0.6341 GB, free: 30.57 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.438e-06/0.1675, allocations: 3.984 kB / 0.6341 GB, free: 30.56 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.887e-05/0.1676, allocations: 7.938 kB / 0.6341 GB, free: 30.55 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.1678, allocations: 140 kB / 0.6342 GB, free: 30.42 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.1678, allocations: 0 / 0.6342 GB, free: 30.42 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1678, allocations: 0 / 0.6342 GB, free: 30.42 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.1678, allocations: 0 / 0.6342 GB, free: 30.42 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003662/0.1681, allocations: 370.2 kB / 0.6346 GB, free: 30.01 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.1682, allocations: 15.97 kB / 0.6346 GB, free: 29.99 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.894e-05/0.1682, allocations: 0.9375 kB / 0.6346 GB, free: 29.99 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.329e-05/0.1683, allocations: 168.3 kB / 0.6348 GB, free: 29.79 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.1683, allocations: 4.375 kB / 0.6348 GB, free: 29.79 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.444e-06/0.1683, allocations: 384 / 0.6348 GB, free: 29.79 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009386/0.1693, allocations: 174.1 kB / 0.6349 GB, free: 29.61 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.1693, allocations: 192 / 0.6349 GB, free: 29.61 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.1693, allocations: 7.875 kB / 0.6349 GB, free: 29.6 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.1693, allocations: 0 / 0.6349 GB, free: 29.6 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008057/0.1701, allocations: 135.8 kB / 0.6351 GB, free: 29.47 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002307/0.1704, allocations: 253 kB / 0.6353 GB, free: 29.17 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009204/0.1713, allocations: 174.4 kB / 0.6355 GB, free: 28.99 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.776e-05/0.1713, allocations: 20.84 kB / 0.6355 GB, free: 28.97 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002514/0.1716, allocations: 186.1 kB / 0.6357 GB, free: 28.75 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.298e-05/0.1716, allocations: 38.5 kB / 0.6357 GB, free: 28.7 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1716, allocations: 0 / 0.6357 GB, free: 28.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=4): time 0.00168/0.1733, allocations: 297.4 kB / 0.636 GB, free: 28.41 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.1734, allocations: 55.39 kB / 0.636 GB, free: 28.34 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.224e-05/0.1734, allocations: 97.86 kB / 0.6361 GB, free: 28.23 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.1734, allocations: 25.7 kB / 0.6362 GB, free: 28.2 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.536e-05/0.1735, allocations: 88.05 kB / 0.6362 GB, free: 28.11 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.359e-05/0.1735, allocations: 15.84 kB / 0.6363 GB, free: 28.1 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-05/0.1735, allocations: 21.7 kB / 0.6363 GB, free: 28.07 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.817e-05/0.1736, allocations: 310.8 kB / 0.6366 GB, free: 27.76 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.1738, allocations: 39.95 kB / 0.6366 GB, free: 27.72 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.1739, allocations: 49.62 kB / 0.6367 GB, free: 27.66 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003183/0.1743, allocations: 85.66 kB / 0.6367 GB, free: 27.57 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1743, allocations: 4 kB / 0.6367 GB, free: 27.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003697/0.1746, allocations: 117.4 kB / 0.6369 GB, free: 27.45 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.1747, allocations: 6.188 kB / 0.6369 GB, free: 27.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.1747, allocations: 4 kB / 0.6369 GB, free: 27.44 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.1747, allocations: 0 / 0.6369 GB, free: 27.44 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.1749, allocations: 27.92 kB / 0.6369 GB, free: 27.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.1749, allocations: 3.984 kB / 0.6369 GB, free: 27.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.175, allocations: 16.02 kB / 0.6369 GB, free: 27.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.175, allocations: 4 kB / 0.6369 GB, free: 27.39 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 4.928e-05/0.1751, allocations: 109.8 kB / 0.637 GB, free: 27.27 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/0.1751, allocations: 0 / 0.637 GB, free: 27.27 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.162e-05/0.1751, allocations: 11.5 kB / 0.637 GB, free: 27.26 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.1752, allocations: 0 / 0.637 GB, free: 27.26 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1752, allocations: 0 / 0.637 GB, free: 27.26 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.093e-06/0.1752, allocations: 0 / 0.637 GB, free: 27.26 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.1753, allocations: 173.6 kB / 0.6372 GB, free: 27.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1753, allocations: 0 / 0.6372 GB, free: 27.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/0.1755, allocations: 27.91 kB / 0.6372 GB, free: 27.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.1755, allocations: 0 / 0.6372 GB, free: 27.02 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.1755, allocations: 0 / 0.6372 GB, free: 27.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.1755, allocations: 4.125 kB / 0.6372 GB, free: 27.01 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1755, allocations: 0 / 0.6372 GB, free: 27.01 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007771/0.1763, allocations: 0.7903 MB / 0.638 GB, free: 26.16 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.62e-05/0.1763, allocations: 77.58 kB / 0.6381 GB, free: 26.07 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.1763, allocations: 4 kB / 0.6381 GB, free: 26.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.1765, allocations: 15.98 kB / 0.6381 GB, free: 26.05 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.037e-05/0.1765, allocations: 7.984 kB / 0.6381 GB, free: 26.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.575e-06/0.1765, allocations: 3.938 kB / 0.6381 GB, free: 26.04 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.539e-05/0.1766, allocations: 87.2 kB / 0.6382 GB, free: 25.95 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1766, allocations: 0 / 0.6382 GB, free: 25.95 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003146/0.1769, allocations: 12 kB / 0.6382 GB, free: 25.94 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (4): * Single equations (assignments): 4 * 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.0001395/0.1771, allocations: 103.2 kB / 0.6383 GB, free: 25.83 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004077/0.1775, allocations: 79.94 kB / 0.6384 GB, free: 25.75 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1775, allocations: 0 / 0.6384 GB, free: 25.75 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001688/0.1777, allocations: 39.95 kB / 0.6384 GB, free: 25.71 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.1779, allocations: 4 kB / 0.6384 GB, free: 25.71 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006292/0.1785, allocations: 287.1 kB / 0.6387 GB, free: 25.39 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.1787, allocations: 0.677 MB / 0.6393 GB, free: 24.69 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 9.106e-05/0.1788, allocations: 19.98 kB / 0.6394 GB, free: 24.67 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.394e-05/0.1788, allocations: 7.438 kB / 0.6394 GB, free: 24.66 MB / 442.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1788, allocations: 3.938 kB / 0.6394 GB, free: 24.66 MB / 442.7 MB Notification: Performance of Templates: time 0.002134/0.181, allocations: 0.5579 MB / 0.6399 GB, free: 24.11 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)