Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 117 kB / 17.09 MB, free: 5.938 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.001282/0.001282, allocations: 198.9 kB / 18.02 MB, free: 5.023 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.324/1.324, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.718/0.718, allocations: 115.3 MB / 407.2 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 64.34 kB / 0.5583 GB, free: 32.36 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1504, allocations: 76.18 MB / 0.6327 GB, free: 4.438 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002539/0.153, allocations: 1.27 MB / 0.634 GB, free: 3.156 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.1541, allocations: 0.5957 MB / 0.6346 GB, free: 2.559 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.843e-05/0.1541, allocations: 0 / 0.6346 GB, free: 2.559 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.421e-05/0.1542, allocations: 0 / 0.6346 GB, free: 2.559 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.714e-05/0.1543, allocations: 15.91 kB / 0.6346 GB, free: 2.543 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006277/0.1549, allocations: 139.4 kB / 0.6347 GB, free: 2.406 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.422e-05/0.155, allocations: 19.94 kB / 0.6347 GB, free: 2.387 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.89e-05/0.155, allocations: 3.984 kB / 0.6347 GB, free: 2.383 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.316e-05/0.1551, allocations: 4 kB / 0.6347 GB, free: 2.379 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.859e-05/0.1551, allocations: 19.86 kB / 0.6347 GB, free: 2.359 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.1551, allocations: 0 / 0.6347 GB, free: 2.359 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005554/0.1557, allocations: 339.4 kB / 0.6351 GB, free: 2.027 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.447e-05/0.1557, allocations: 7.984 kB / 0.6351 GB, free: 2.02 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.807e-05/0.1558, allocations: 11.92 kB / 0.6351 GB, free: 2.008 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002979/0.1561, allocations: 143.6 kB / 0.6352 GB, free: 1.867 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1561, allocations: 0 / 0.6352 GB, free: 1.867 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1561, allocations: 4 kB / 0.6352 GB, free: 1.863 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.1561, allocations: 0 / 0.6352 GB, free: 1.863 MB / 478.1 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.0004775/0.1566, allocations: 359.4 kB / 0.6356 GB, free: 1.461 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.1566, allocations: 8.031 kB / 0.6356 GB, free: 1.453 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.404e-05/0.1567, allocations: 4.844 kB / 0.6356 GB, free: 1.449 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.1568, allocations: 172.3 kB / 0.6358 GB, free: 1.242 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.1568, allocations: 4.375 kB / 0.6358 GB, free: 1.238 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.1568, allocations: 384 / 0.6358 GB, free: 1.238 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.157, allocations: 42.25 kB / 0.6358 GB, free: 1.191 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.157, allocations: 192 / 0.6358 GB, free: 1.191 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.157, allocations: 3.938 kB / 0.6358 GB, free: 1.188 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.157, allocations: 0 / 0.6358 GB, free: 1.188 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.958e-05/0.157, allocations: 23.92 kB / 0.6358 GB, free: 1.164 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003496/0.1574, allocations: 248.9 kB / 0.6361 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.1576, allocations: 54.56 kB / 0.6361 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.447e-05/0.1577, allocations: 16.84 kB / 0.6361 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.1577, allocations: 4 kB / 0.6361 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.1577, allocations: 34.5 kB / 0.6362 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1577, allocations: 0 / 0.6362 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001745/0.1579, allocations: 65.62 kB / 0.6362 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.1579, allocations: 51.41 kB / 0.6363 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.513e-05/0.158, allocations: 97.86 kB / 0.6364 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.158, allocations: 25.7 kB / 0.6364 GB, free: 484 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.53e-05/0.1581, allocations: 91.97 kB / 0.6365 GB, free: 388 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.215e-05/0.1581, allocations: 7.812 kB / 0.6365 GB, free: 380 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.518e-05/0.1582, allocations: 21.72 kB / 0.6365 GB, free: 352 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1583, allocations: 310.8 kB / 0.6368 GB, free: 32 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.416e-05/0.1583, allocations: 15.98 kB / 0.6368 GB, free: 16 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.642e-05/0.1584, allocations: 17.72 kB / 0.6368 GB, free: 15.99 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.838e-05/0.1584, allocations: 26.09 kB / 0.6369 GB, free: 15.96 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.1584, allocations: 0 / 0.6369 GB, free: 15.96 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.756e-05/0.1585, allocations: 69.59 kB / 0.6369 GB, free: 15.89 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.1585, allocations: 7.984 kB / 0.6369 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.1586, allocations: 0 / 0.6369 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.1586, allocations: 8.031 kB / 0.6369 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.838e-05/0.1586, allocations: 4.125 kB / 0.6369 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.1586, allocations: 11.94 kB / 0.637 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.481e-05/0.1587, allocations: 0 / 0.637 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.1587, allocations: 0 / 0.637 GB, free: 15.86 MB / 494.1 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 8.577e-05/0.1588, allocations: 117.8 kB / 0.6371 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.1588, allocations: 0 / 0.6371 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00014/0.159, allocations: 65.08 kB / 0.6371 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.159, allocations: 4 kB / 0.6371 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.159, allocations: 0 / 0.6371 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.159, allocations: 0 / 0.6371 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.1591, allocations: 165.6 kB / 0.6373 GB, free: 15.44 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1592, allocations: 0 / 0.6373 GB, free: 15.44 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.867e-05/0.1592, allocations: 7.938 kB / 0.6373 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.1592, allocations: 3.938 kB / 0.6373 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.1592, allocations: 0 / 0.6373 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1592, allocations: 4 kB / 0.6373 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1592, allocations: 0 / 0.6373 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001394/0.1594, allocations: 159.5 kB / 0.6375 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.652e-05/0.1594, allocations: 81.05 kB / 0.6375 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.056e-05/0.1594, allocations: 0 / 0.6375 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.276e-05/0.1595, allocations: 4 kB / 0.6375 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.669e-05/0.1595, allocations: 4 kB / 0.6375 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-06/0.1595, allocations: 0 / 0.6375 GB, free: 15.15 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.391e-05/0.1596, allocations: 83.27 kB / 0.6376 GB, free: 15.07 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1596, allocations: 3.938 kB / 0.6376 GB, free: 15.06 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002462/0.1598, allocations: 20 kB / 0.6377 GB, free: 15.04 MB / 494.1 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.0001896/0.16, allocations: 115.2 kB / 0.6378 GB, free: 14.92 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.621e-05/0.1601, allocations: 27.92 kB / 0.6378 GB, free: 14.89 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1601, allocations: 0 / 0.6378 GB, free: 14.89 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.722e-05/0.1602, allocations: 8 kB / 0.6378 GB, free: 14.88 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.1604, allocations: 13.97 kB / 0.6378 GB, free: 14.87 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002927/0.1607, allocations: 152.3 kB / 0.638 GB, free: 14.69 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/0.1609, allocations: 0.6768 MB / 0.6386 GB, free: 13.98 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.459e-05/0.161, allocations: 11.44 kB / 0.6386 GB, free: 13.97 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.161, allocations: 0 / 0.6386 GB, free: 13.97 MB / 494.1 MB Notification: Performance of Templates: time 0.002178/0.1632, allocations: 0.7012 MB / 0.6393 GB, free: 13.27 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)