Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.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.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized") translateModel(IBPSA.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 112.3 kB / 17.04 MB, free: 5.812 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.00168/0.00168, allocations: 195 kB / 17.98 MB, free: 5.027 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.32/1.32, allocations: 222.9 MB / 241.7 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.7169/0.7169, allocations: 115.1 MB / 406.9 MB, free: 6.348 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 72.11 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3195, allocations: 76.12 MB / 0.5576 GB, free: 36.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.002905/0.3224, allocations: 1.433 MB / 0.559 GB, free: 35.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009767/0.3234, allocations: 0.7888 MB / 0.5597 GB, free: 35.1 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.014e-05/0.3235, allocations: 0.6562 kB / 0.5597 GB, free: 35.1 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.133e-05/0.3235, allocations: 6.422 kB / 0.5597 GB, free: 35.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.261e-05/0.3236, allocations: 2.312 kB / 0.5597 GB, free: 35.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003946/0.324, allocations: 126.3 kB / 0.5599 GB, free: 35.04 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.464e-05/0.324, allocations: 38.45 kB / 0.5599 GB, free: 35.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.765e-05/0.3241, allocations: 6.406 kB / 0.5599 GB, free: 35.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.482e-05/0.3242, allocations: 17.97 kB / 0.5599 GB, free: 35.01 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.092e-05/0.3242, allocations: 21.55 kB / 0.5599 GB, free: 35 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.3243, allocations: 3.75 kB / 0.5599 GB, free: 35 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004863/0.3248, allocations: 312.2 kB / 0.5602 GB, free: 34.92 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.826e-05/0.3248, allocations: 12.53 kB / 0.5603 GB, free: 34.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.805e-05/0.3248, allocations: 17.48 kB / 0.5603 GB, free: 34.9 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003206/0.3251, allocations: 189.2 kB / 0.5604 GB, free: 34.86 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.3251, allocations: 1.312 kB / 0.5604 GB, free: 34.86 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3252, allocations: 1.031 kB / 0.5605 GB, free: 34.86 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.3252, allocations: 0 / 0.5605 GB, free: 34.86 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000462/0.3256, allocations: 380.2 kB / 0.5608 GB, free: 34.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.3257, allocations: 11.45 kB / 0.5608 GB, free: 34.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004643/0.3261, allocations: 63.48 kB / 0.5609 GB, free: 34.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.879e-05/0.3262, allocations: 170.8 kB / 0.561 GB, free: 34.28 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.3263, allocations: 1.625 kB / 0.561 GB, free: 34.28 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.3263, allocations: 5.594 kB / 0.5611 GB, free: 34.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002863/0.3266, allocations: 86.69 kB / 0.5611 GB, free: 34.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.3266, allocations: 0.9375 kB / 0.5611 GB, free: 34.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.3266, allocations: 2.406 kB / 0.5611 GB, free: 34.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3266, allocations: 0 / 0.5611 GB, free: 34.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003913/0.327, allocations: 94.23 kB / 0.5612 GB, free: 34.22 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004652/0.3275, allocations: 305.4 kB / 0.5615 GB, free: 33.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003528/0.3279, allocations: 92.12 kB / 0.5616 GB, free: 33.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002008/0.3281, allocations: 55.02 kB / 0.5617 GB, free: 33.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.3281, allocations: 2.547 kB / 0.5617 GB, free: 33.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.522e-05/0.3281, allocations: 33.45 kB / 0.5617 GB, free: 33.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.503e-06/0.3281, allocations: 1.625 kB / 0.5617 GB, free: 33.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0007146/0.3288, allocations: 169.1 kB / 0.5619 GB, free: 33.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.234e-05/0.3289, allocations: 52.78 kB / 0.5619 GB, free: 33.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.023e-05/0.3289, allocations: 103.8 kB / 0.562 GB, free: 33.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.329, allocations: 25.7 kB / 0.562 GB, free: 33.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.948e-05/0.329, allocations: 82.88 kB / 0.5621 GB, free: 33.51 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.861e-05/0.329, allocations: 5.484 kB / 0.5621 GB, free: 33.51 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.85e-05/0.3291, allocations: 19.61 kB / 0.5621 GB, free: 33.49 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.741e-05/0.3291, allocations: 313.9 kB / 0.5624 GB, free: 33.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/0.3293, allocations: 43.72 kB / 0.5625 GB, free: 33.17 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001945/0.3295, allocations: 49.3 kB / 0.5625 GB, free: 33.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003807/0.3299, allocations: 95.06 kB / 0.5626 GB, free: 33.14 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3299, allocations: 0 / 0.5626 GB, free: 33.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004559/0.3304, allocations: 122.9 kB / 0.5627 GB, free: 33.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.3304, allocations: 5.5 kB / 0.5627 GB, free: 33.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3304, allocations: 2.031 kB / 0.5627 GB, free: 33.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.3304, allocations: 0.8438 kB / 0.5627 GB, free: 33.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.3306, allocations: 26.47 kB / 0.5628 GB, free: 33.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.3306, allocations: 1.375 kB / 0.5628 GB, free: 33.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.3308, allocations: 18.31 kB / 0.5628 GB, free: 33.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.3308, allocations: 2.25 kB / 0.5628 GB, free: 33.1 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 5.824e-05/0.3308, allocations: 114.8 kB / 0.5629 GB, free: 32.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.862e-05/0.3309, allocations: 7.312 kB / 0.5629 GB, free: 32.97 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.899e-05/0.3309, allocations: 4.969 kB / 0.5629 GB, free: 32.97 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3309, allocations: 3.375 kB / 0.5629 GB, free: 32.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3309, allocations: 0 / 0.5629 GB, free: 32.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3309, allocations: 0.6562 kB / 0.5629 GB, free: 32.97 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.3311, allocations: 175.8 kB / 0.5631 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.3311, allocations: 2.156 kB / 0.5631 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/0.3312, allocations: 25.83 kB / 0.5631 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3313, allocations: 0.75 kB / 0.5631 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.3313, allocations: 5.5 kB / 0.5631 GB, free: 32.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.3313, allocations: 1.484 kB / 0.5631 GB, free: 32.76 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.3313, allocations: 0 / 0.5631 GB, free: 32.76 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004594/0.3318, allocations: 225.7 kB / 0.5633 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.29e-05/0.3318, allocations: 78.95 kB / 0.5634 GB, free: 32.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.3318, allocations: 2.031 kB / 0.5634 GB, free: 32.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.332, allocations: 19.45 kB / 0.5634 GB, free: 32.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.332, allocations: 3.312 kB / 0.5634 GB, free: 32.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.332, allocations: 1.031 kB / 0.5634 GB, free: 32.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.99e-05/0.3321, allocations: 85.33 kB / 0.5635 GB, free: 32.44 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3321, allocations: 0.8438 kB / 0.5635 GB, free: 32.44 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002484/0.3323, allocations: 15.41 kB / 0.5635 GB, free: 32.44 MB / 446.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 (2): * Single equations (assignments): 2 * 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.0001459/0.3325, allocations: 102.6 kB / 0.5636 GB, free: 32.35 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004722/0.3329, allocations: 104.1 kB / 0.5637 GB, free: 32.33 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.333, allocations: 1.281 kB / 0.5637 GB, free: 32.33 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002066/0.3332, allocations: 45.02 kB / 0.5638 GB, free: 32.33 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.3335, allocations: 14.19 kB / 0.5638 GB, free: 32.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005585/0.334, allocations: 168.4 kB / 0.5639 GB, free: 32.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00015/0.3342, allocations: 0.6781 MB / 0.5646 GB, free: 31.51 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.572e-05/0.3343, allocations: 7.641 kB / 0.5646 GB, free: 31.51 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.426e-05/0.3343, allocations: 11.44 kB / 0.5646 GB, free: 31.5 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3343, allocations: 0.5938 kB / 0.5646 GB, free: 31.5 MB / 446.1 MB Notification: Performance of Templates: time 0.003146/0.3375, allocations: 0.8229 MB / 0.5654 GB, free: 31.42 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)