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.001336/0.001336, allocations: 106.8 kB / 16.41 MB, free: 6.434 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.001513/0.001513, allocations: 197.4 kB / 17.34 MB, free: 5.742 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7272/0.7272, allocations: 115.3 MB / 406.5 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 68.11 kB / 0.5577 GB, free: 32.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.1995, allocations: 76.18 MB / 0.6321 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002454/0.202, allocations: 1.27 MB / 0.6333 GB, free: 3.137 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.2032, allocations: 0.588 MB / 0.6339 GB, free: 2.547 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.52e-05/0.2033, allocations: 3.938 kB / 0.6339 GB, free: 2.543 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.353e-05/0.2033, allocations: 3.938 kB / 0.6339 GB, free: 2.539 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.778e-05/0.2034, allocations: 7.938 kB / 0.6339 GB, free: 2.531 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005274/0.2039, allocations: 151.4 kB / 0.634 GB, free: 2.383 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.075e-05/0.204, allocations: 15.88 kB / 0.6341 GB, free: 2.367 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.433e-05/0.204, allocations: 7.984 kB / 0.6341 GB, free: 2.359 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.634e-05/0.2041, allocations: 8 kB / 0.6341 GB, free: 2.352 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.983e-05/0.2041, allocations: 7.938 kB / 0.6341 GB, free: 2.344 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.2041, allocations: 0 / 0.6341 GB, free: 2.344 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004919/0.2046, allocations: 343.3 kB / 0.6344 GB, free: 2.008 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.249e-05/0.2047, allocations: 7.984 kB / 0.6344 GB, free: 2 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.9e-05/0.2047, allocations: 11.94 kB / 0.6344 GB, free: 1.988 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002609/0.205, allocations: 147.6 kB / 0.6346 GB, free: 1.844 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.205, allocations: 4 kB / 0.6346 GB, free: 1.84 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.205, allocations: 0 / 0.6346 GB, free: 1.84 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.205, allocations: 0 / 0.6346 GB, free: 1.84 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.0004816/0.2055, allocations: 359.4 kB / 0.6349 GB, free: 1.438 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.2055, allocations: 8.031 kB / 0.6349 GB, free: 1.43 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.607e-05/0.2056, allocations: 8.844 kB / 0.6349 GB, free: 1.422 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.2057, allocations: 160.4 kB / 0.6351 GB, free: 1.227 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.315e-06/0.2057, allocations: 384 / 0.6351 GB, free: 1.227 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.2057, allocations: 4.375 kB / 0.6351 GB, free: 1.223 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.2059, allocations: 50.23 kB / 0.6351 GB, free: 1.168 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.2059, allocations: 192 / 0.6351 GB, free: 1.168 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.2059, allocations: 3.938 kB / 0.6351 GB, free: 1.164 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2059, allocations: 0 / 0.6351 GB, free: 1.164 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.158e-05/0.206, allocations: 19.92 kB / 0.6352 GB, free: 1.145 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003497/0.2063, allocations: 249 kB / 0.6354 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.2065, allocations: 50.56 kB / 0.6354 GB, free: 0.793 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.514e-05/0.2066, allocations: 16.86 kB / 0.6355 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.2066, allocations: 7.922 kB / 0.6355 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.2066, allocations: 38.56 kB / 0.6355 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/0.2066, allocations: 0 / 0.6355 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001806/0.2068, allocations: 53.62 kB / 0.6356 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.2069, allocations: 51.41 kB / 0.6356 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.735e-05/0.2069, allocations: 101.9 kB / 0.6357 GB, free: 500 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.207, allocations: 25.7 kB / 0.6357 GB, free: 468 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.584e-05/0.207, allocations: 91.98 kB / 0.6358 GB, free: 372 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.47e-05/0.207, allocations: 15.8 kB / 0.6358 GB, free: 356 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.498e-05/0.2071, allocations: 13.72 kB / 0.6358 GB, free: 336 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.2072, allocations: 314.8 kB / 0.6361 GB, free: 12 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.935e-05/0.2072, allocations: 11.92 kB / 0.6362 GB, free: 0 / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.171e-05/0.2073, allocations: 25.77 kB / 0.6362 GB, free: 15.96 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.073e-05/0.2073, allocations: 37.66 kB / 0.6362 GB, free: 15.92 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.2073, allocations: 0 / 0.6362 GB, free: 15.92 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.654e-05/0.2074, allocations: 53.58 kB / 0.6363 GB, free: 15.87 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.2074, allocations: 11.94 kB / 0.6363 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.2075, allocations: 0 / 0.6363 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.2075, allocations: 0 / 0.6363 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.654e-05/0.2075, allocations: 11.98 kB / 0.6363 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.2075, allocations: 0 / 0.6363 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.499e-05/0.2076, allocations: 8.031 kB / 0.6363 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-06/0.2076, allocations: 4 kB / 0.6363 GB, free: 15.83 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 7.92e-05/0.2077, allocations: 109.8 kB / 0.6364 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.2077, allocations: 4 kB / 0.6364 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001393/0.2078, allocations: 65.44 kB / 0.6365 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.2079, allocations: 8.031 kB / 0.6365 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2079, allocations: 0 / 0.6365 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.2079, allocations: 0 / 0.6365 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.208, allocations: 165.6 kB / 0.6366 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.208, allocations: 0 / 0.6366 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.477e-05/0.2081, allocations: 8 kB / 0.6366 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.2081, allocations: 0 / 0.6366 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.2081, allocations: 4 kB / 0.6366 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2081, allocations: 0 / 0.6366 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.2081, allocations: 0 / 0.6366 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001131/0.2082, allocations: 155.4 kB / 0.6368 GB, free: 15.24 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.116e-05/0.2083, allocations: 89.03 kB / 0.6369 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.2083, allocations: 4 kB / 0.6369 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.17e-05/0.2083, allocations: 0 / 0.6369 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.05e-05/0.2084, allocations: 3.938 kB / 0.6369 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.2084, allocations: 4 kB / 0.6369 GB, free: 15.12 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.583e-05/0.2084, allocations: 75.28 kB / 0.637 GB, free: 15.05 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2084, allocations: 0 / 0.637 GB, free: 15.05 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002421/0.2087, allocations: 27.98 kB / 0.637 GB, free: 15.02 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.0001741/0.2088, allocations: 111.2 kB / 0.6371 GB, free: 14.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001006/0.2089, allocations: 27.98 kB / 0.6371 GB, free: 14.87 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.209, allocations: 0 / 0.6371 GB, free: 14.87 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.17e-05/0.209, allocations: 15.94 kB / 0.6371 GB, free: 14.86 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002143/0.2092, allocations: 3.938 kB / 0.6371 GB, free: 14.85 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002949/0.2095, allocations: 122.6 kB / 0.6373 GB, free: 14.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.2098, allocations: 0.6768 MB / 0.6379 GB, free: 14 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.188e-05/0.2098, allocations: 15.98 kB / 0.6379 GB, free: 13.98 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.831e-05/0.2098, allocations: 7.438 kB / 0.6379 GB, free: 13.98 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2098, allocations: 4 kB / 0.6379 GB, free: 13.97 MB / 494.1 MB Notification: Performance of Templates: time 0.002555/0.2124, allocations: 0.5046 MB / 0.6384 GB, free: 13.47 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)