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.00154/0.00154, allocations: 103.1 kB / 16.52 MB, free: 6.727 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.001844/0.001844, allocations: 195.2 kB / 17.45 MB, free: 6.051 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.344/1.344, allocations: 222.9 MB / 241.1 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7165/0.7165, allocations: 115.3 MB / 406.6 MB, free: 6.434 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 67.91 kB / 493.6 MB, free: 0.8477 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3115, allocations: 76.17 MB / 0.5564 GB, free: 36.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.002719/0.3143, allocations: 1.488 MB / 0.5578 GB, free: 35.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.3154, allocations: 0.8086 MB / 0.5586 GB, free: 34.71 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.057e-05/0.3154, allocations: 1.031 kB / 0.5586 GB, free: 34.71 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.01e-05/0.3155, allocations: 1.172 kB / 0.5586 GB, free: 34.71 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.142e-05/0.3156, allocations: 6.781 kB / 0.5586 GB, free: 34.71 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004047/0.316, allocations: 97.38 kB / 0.5587 GB, free: 34.67 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.918e-05/0.316, allocations: 36.92 kB / 0.5588 GB, free: 34.65 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.957e-05/0.3161, allocations: 12.28 kB / 0.5588 GB, free: 34.64 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.38e-05/0.3162, allocations: 8.156 kB / 0.5588 GB, free: 34.64 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.972e-05/0.3162, allocations: 21.86 kB / 0.5588 GB, free: 34.64 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.3163, allocations: 1.375 kB / 0.5588 GB, free: 34.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004558/0.3167, allocations: 322.2 kB / 0.5591 GB, free: 34.54 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.716e-05/0.3168, allocations: 9.031 kB / 0.5591 GB, free: 34.54 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.922e-05/0.3168, allocations: 12.92 kB / 0.5591 GB, free: 34.53 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002299/0.317, allocations: 136.2 kB / 0.5593 GB, free: 34.51 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.317, allocations: 0 / 0.5593 GB, free: 34.51 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.01e-07/0.317, allocations: 0 / 0.5593 GB, free: 34.51 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.3171, allocations: 0.9688 kB / 0.5593 GB, free: 34.51 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.0004821/0.3175, allocations: 375.4 kB / 0.5596 GB, free: 34.13 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.3176, allocations: 14.66 kB / 0.5596 GB, free: 34.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004749/0.3181, allocations: 65.77 kB / 0.5597 GB, free: 34.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.812e-05/0.3182, allocations: 169.7 kB / 0.5598 GB, free: 33.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.3182, allocations: 4.375 kB / 0.5599 GB, free: 33.92 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.3182, allocations: 5.688 kB / 0.5599 GB, free: 33.92 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003099/0.3185, allocations: 86.08 kB / 0.5599 GB, free: 33.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.3185, allocations: 5.375 kB / 0.5599 GB, free: 33.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.3186, allocations: 0.5 kB / 0.5599 GB, free: 33.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3186, allocations: 0.6562 kB / 0.5599 GB, free: 33.88 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004224/0.319, allocations: 98.02 kB / 0.56 GB, free: 33.86 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004607/0.3195, allocations: 297.2 kB / 0.5603 GB, free: 33.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003789/0.3199, allocations: 97.33 kB / 0.5604 GB, free: 33.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002111/0.3201, allocations: 51.31 kB / 0.5605 GB, free: 33.53 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.3201, allocations: 0.7969 kB / 0.5605 GB, free: 33.53 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.58e-05/0.3201, allocations: 31.44 kB / 0.5605 GB, free: 33.49 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.3201, allocations: 0.5938 kB / 0.5605 GB, free: 33.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0007409/0.3209, allocations: 171.3 kB / 0.5607 GB, free: 33.44 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.484e-05/0.3209, allocations: 53.41 kB / 0.5607 GB, free: 33.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.184e-05/0.321, allocations: 105.5 kB / 0.5608 GB, free: 33.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.321, allocations: 25.7 kB / 0.5608 GB, free: 33.24 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.556e-05/0.321, allocations: 82 kB / 0.5609 GB, free: 33.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.815e-05/0.321, allocations: 9.875 kB / 0.5609 GB, free: 33.15 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.945e-05/0.3211, allocations: 14.69 kB / 0.5609 GB, free: 33.14 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.313e-05/0.3211, allocations: 312.5 kB / 0.5612 GB, free: 32.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002191/0.3214, allocations: 48.39 kB / 0.5613 GB, free: 32.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002023/0.3216, allocations: 44.81 kB / 0.5613 GB, free: 32.81 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003856/0.322, allocations: 97.88 kB / 0.5614 GB, free: 32.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.322, allocations: 0.5 kB / 0.5614 GB, free: 32.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004478/0.3224, allocations: 123.4 kB / 0.5615 GB, free: 32.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.3225, allocations: 6.422 kB / 0.5615 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3225, allocations: 1.156 kB / 0.5615 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.3225, allocations: 0 / 0.5615 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.3227, allocations: 22.72 kB / 0.5616 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.3227, allocations: 0.75 kB / 0.5616 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.3228, allocations: 22.48 kB / 0.5616 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.3228, allocations: 2.047 kB / 0.5616 GB, free: 32.75 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.463e-05/0.3229, allocations: 117.9 kB / 0.5617 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.922e-05/0.3229, allocations: 5.062 kB / 0.5617 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.786e-05/0.3229, allocations: 6.281 kB / 0.5617 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.323, allocations: 4.734 kB / 0.5617 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.323, allocations: 0 / 0.5617 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.323, allocations: 1.75 kB / 0.5617 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.3231, allocations: 177.2 kB / 0.5619 GB, free: 32.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3231, allocations: 0.5156 kB / 0.5619 GB, free: 32.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001433/0.3233, allocations: 25.03 kB / 0.5619 GB, free: 32.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3233, allocations: 4.469 kB / 0.5619 GB, free: 32.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.3233, allocations: 1 kB / 0.5619 GB, free: 32.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.3233, allocations: 2.016 kB / 0.5619 GB, free: 32.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3233, allocations: 4 kB / 0.5619 GB, free: 32.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004636/0.3238, allocations: 218.8 kB / 0.5621 GB, free: 32.26 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.863e-05/0.3238, allocations: 79.23 kB / 0.5622 GB, free: 32.17 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.3238, allocations: 1.922 kB / 0.5622 GB, free: 32.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.324, allocations: 18.05 kB / 0.5622 GB, free: 32.17 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.369e-05/0.324, allocations: 7.703 kB / 0.5622 GB, free: 32.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.324, allocations: 2 kB / 0.5622 GB, free: 32.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.679e-05/0.3241, allocations: 82.67 kB / 0.5623 GB, free: 32.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3241, allocations: 0 / 0.5623 GB, free: 32.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002476/0.3243, allocations: 11.98 kB / 0.5623 GB, free: 32.09 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.0001376/0.3245, allocations: 105.4 kB / 0.5624 GB, free: 32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004814/0.325, allocations: 100.4 kB / 0.5625 GB, free: 31.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.325, allocations: 2.531 kB / 0.5625 GB, free: 31.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002175/0.3252, allocations: 50.34 kB / 0.5626 GB, free: 31.97 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.3255, allocations: 7.891 kB / 0.5626 GB, free: 31.97 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005403/0.3261, allocations: 194.8 kB / 0.5628 GB, free: 31.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.797e-05/0.3262, allocations: 0.6769 MB / 0.5634 GB, free: 31.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.889e-05/0.3262, allocations: 11.52 kB / 0.5634 GB, free: 31.12 MB / 446.1 MB Notification: Performance of SimCode: time 4.4e-07/0.3262, allocations: 1.688 kB / 0.5634 GB, free: 31.12 MB / 446.1 MB Notification: Performance of Templates: time 0.002405/0.3286, allocations: 0.8875 MB / 0.5643 GB, free: 31.07 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)