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.001026/0.001026, allocations: 115 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.001009/0.001009, allocations: 196 kB / 17.98 MB, free: 5.031 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.268/1.268, 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.6918/0.6918, allocations: 115.1 MB / 407 MB, free: 6.305 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 71.84 kB / 494.8 MB, free: 15.82 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3258, allocations: 76.13 MB / 0.5576 GB, free: 36.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.002556/0.3284, allocations: 1.432 MB / 0.559 GB, free: 35.56 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009923/0.3294, allocations: 0.7905 MB / 0.5597 GB, free: 35.01 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.05e-05/0.3294, allocations: 0 / 0.5597 GB, free: 35.01 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.525e-05/0.3295, allocations: 0.75 kB / 0.5597 GB, free: 35.01 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.999e-05/0.3295, allocations: 5.125 kB / 0.5597 GB, free: 35.01 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004088/0.3299, allocations: 129.8 kB / 0.5599 GB, free: 34.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.121e-05/0.33, allocations: 39.78 kB / 0.5599 GB, free: 34.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.457e-05/0.3301, allocations: 7.328 kB / 0.5599 GB, free: 34.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.581e-05/0.3302, allocations: 14.33 kB / 0.5599 GB, free: 34.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.955e-05/0.3302, allocations: 22.03 kB / 0.5599 GB, free: 34.92 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.3302, allocations: 2.719 kB / 0.5599 GB, free: 34.92 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004767/0.3307, allocations: 313 kB / 0.5602 GB, free: 34.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.684e-05/0.3307, allocations: 11.81 kB / 0.5603 GB, free: 34.83 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.68e-05/0.3308, allocations: 16.52 kB / 0.5603 GB, free: 34.82 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002986/0.3311, allocations: 195.5 kB / 0.5605 GB, free: 34.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3311, allocations: 0.75 kB / 0.5605 GB, free: 34.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3311, allocations: 1.594 kB / 0.5605 GB, free: 34.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.945e-05/0.3311, allocations: 0 / 0.5605 GB, free: 34.77 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.0004398/0.3316, allocations: 378.2 kB / 0.5608 GB, free: 34.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.3316, allocations: 9.594 kB / 0.5608 GB, free: 34.39 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004398/0.3321, allocations: 63.78 kB / 0.5609 GB, free: 34.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.185e-05/0.3321, allocations: 165.7 kB / 0.5611 GB, free: 34.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.3322, allocations: 3.125 kB / 0.5611 GB, free: 34.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.3322, allocations: 5.75 kB / 0.5611 GB, free: 34.19 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002867/0.3325, allocations: 90.16 kB / 0.5611 GB, free: 34.15 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.3325, allocations: 0 / 0.5611 GB, free: 34.15 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.3325, allocations: 1.906 kB / 0.5611 GB, free: 34.15 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3325, allocations: 0 / 0.5611 GB, free: 34.15 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003959/0.3329, allocations: 92.36 kB / 0.5612 GB, free: 34.14 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004841/0.3334, allocations: 300.6 kB / 0.5615 GB, free: 33.85 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003632/0.3338, allocations: 97.55 kB / 0.5616 GB, free: 33.81 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002052/0.334, allocations: 54.81 kB / 0.5617 GB, free: 33.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.334, allocations: 0 / 0.5617 GB, free: 33.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.3341, allocations: 33.3 kB / 0.5617 GB, free: 33.76 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.3341, allocations: 0.5312 kB / 0.5617 GB, free: 33.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0006851/0.3348, allocations: 167.7 kB / 0.5619 GB, free: 33.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.3348, allocations: 51.41 kB / 0.5619 GB, free: 33.65 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.946e-05/0.3349, allocations: 107.3 kB / 0.562 GB, free: 33.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.3349, allocations: 27.77 kB / 0.562 GB, free: 33.51 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.281e-05/0.3349, allocations: 82.73 kB / 0.5621 GB, free: 33.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.335, allocations: 8.406 kB / 0.5621 GB, free: 33.42 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/0.335, allocations: 19.48 kB / 0.5621 GB, free: 33.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.576e-05/0.3351, allocations: 314.3 kB / 0.5624 GB, free: 33.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/0.3353, allocations: 44.33 kB / 0.5625 GB, free: 33.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/0.3355, allocations: 48.17 kB / 0.5625 GB, free: 33.08 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003587/0.3358, allocations: 94.3 kB / 0.5626 GB, free: 33.06 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3359, allocations: 0 / 0.5626 GB, free: 33.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003977/0.3363, allocations: 120.3 kB / 0.5627 GB, free: 33.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.3363, allocations: 6.375 kB / 0.5627 GB, free: 33.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.3363, allocations: 0.6562 kB / 0.5627 GB, free: 33.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.3363, allocations: 0 / 0.5627 GB, free: 33.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.3365, allocations: 26.52 kB / 0.5628 GB, free: 33.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.3365, allocations: 1.344 kB / 0.5628 GB, free: 33.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.3366, allocations: 18.89 kB / 0.5628 GB, free: 33.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.3366, allocations: 2.703 kB / 0.5628 GB, free: 33.02 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.022e-05/0.3367, allocations: 116.9 kB / 0.5629 GB, free: 32.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.704e-05/0.3367, allocations: 5.25 kB / 0.5629 GB, free: 32.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.131e-05/0.3367, allocations: 4.922 kB / 0.5629 GB, free: 32.89 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.217e-06/0.3367, allocations: 3.594 kB / 0.5629 GB, free: 32.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3367, allocations: 4.969 kB / 0.5629 GB, free: 32.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.3367, allocations: 0 / 0.5629 GB, free: 32.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.3369, allocations: 180.5 kB / 0.5631 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3369, allocations: 1.172 kB / 0.5631 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/0.337, allocations: 23 kB / 0.5631 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.337, allocations: 1.625 kB / 0.5631 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.3371, allocations: 1.984 kB / 0.5631 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3371, allocations: 0 / 0.5631 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3371, allocations: 1.406 kB / 0.5631 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004271/0.3375, allocations: 223.4 kB / 0.5633 GB, free: 32.53 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.154e-05/0.3375, allocations: 79.39 kB / 0.5634 GB, free: 32.44 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.3376, allocations: 1.719 kB / 0.5634 GB, free: 32.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.3377, allocations: 18.7 kB / 0.5634 GB, free: 32.44 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/0.3377, allocations: 3.219 kB / 0.5634 GB, free: 32.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-06/0.3377, allocations: 2.078 kB / 0.5634 GB, free: 32.44 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.344e-05/0.3378, allocations: 85.67 kB / 0.5635 GB, free: 32.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3378, allocations: 0 / 0.5635 GB, free: 32.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002317/0.338, allocations: 15.2 kB / 0.5635 GB, free: 32.36 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.0001369/0.3382, allocations: 103.1 kB / 0.5636 GB, free: 32.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004316/0.3386, allocations: 96.52 kB / 0.5637 GB, free: 32.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3386, allocations: 1.562 kB / 0.5637 GB, free: 32.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002047/0.3388, allocations: 52.09 kB / 0.5638 GB, free: 32.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.3391, allocations: 16.23 kB / 0.5638 GB, free: 32.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000525/0.3397, allocations: 169.4 kB / 0.5639 GB, free: 32.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.3398, allocations: 0.6766 MB / 0.5646 GB, free: 31.42 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.159e-05/0.3399, allocations: 9.906 kB / 0.5646 GB, free: 31.42 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.347e-05/0.3399, allocations: 12.44 kB / 0.5646 GB, free: 31.41 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3399, allocations: 0 / 0.5646 GB, free: 31.41 MB / 446.1 MB Notification: Performance of Templates: time 0.002899/0.3428, allocations: 0.8159 MB / 0.5654 GB, free: 31.34 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 cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)