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.001699/0.001699, allocations: 99.83 kB / 16.27 MB, free: 5.957 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.001834/0.001834, allocations: 186.9 kB / 17.19 MB, free: 5.594 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.407/1.407, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7645/0.7645, allocations: 122.9 MB / 413.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001342, allocations: 71.88 kB / 0.4911 GB, free: 7.383 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4123/0.4137, allocations: 77.93 MB / 0.5672 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.002965/0.4167, allocations: 1.431 MB / 0.5686 GB, free: 31.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.4179, allocations: 0.7882 MB / 0.5694 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.135e-05/0.4179, allocations: 1.188 kB / 0.5694 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.313e-05/0.418, allocations: 5.562 kB / 0.5694 GB, free: 31.15 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.159e-05/0.418, allocations: 10.42 kB / 0.5694 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004939/0.4185, allocations: 123.3 kB / 0.5695 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.105e-05/0.4186, allocations: 30.73 kB / 0.5695 GB, free: 31.08 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.619e-05/0.4187, allocations: 9.391 kB / 0.5696 GB, free: 31.08 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.209e-05/0.4188, allocations: 13.73 kB / 0.5696 GB, free: 31.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.155e-05/0.4188, allocations: 21.23 kB / 0.5696 GB, free: 31.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.4189, allocations: 9.625 kB / 0.5696 GB, free: 31.06 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005632/0.4194, allocations: 315.7 kB / 0.5699 GB, free: 30.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.803e-05/0.4195, allocations: 7.047 kB / 0.5699 GB, free: 30.97 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.558e-05/0.4195, allocations: 12.7 kB / 0.5699 GB, free: 30.96 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003834/0.4199, allocations: 194.7 kB / 0.5701 GB, free: 30.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.4199, allocations: 1.031 kB / 0.5701 GB, free: 30.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.4199, allocations: 0 / 0.5701 GB, free: 30.91 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.15e-05/0.4199, allocations: 0 / 0.5701 GB, free: 30.91 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.0005309/0.4205, allocations: 379.8 kB / 0.5705 GB, free: 30.53 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.4205, allocations: 11.25 kB / 0.5705 GB, free: 30.53 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005188/0.421, allocations: 74.98 kB / 0.5706 GB, free: 30.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.923e-05/0.4212, allocations: 167.4 kB / 0.5707 GB, free: 30.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/0.4212, allocations: 1.594 kB / 0.5707 GB, free: 30.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.4212, allocations: 2.812 kB / 0.5707 GB, free: 30.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003119/0.4215, allocations: 88.09 kB / 0.5708 GB, free: 30.28 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.4215, allocations: 4.641 kB / 0.5708 GB, free: 30.28 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.4216, allocations: 0.6562 kB / 0.5708 GB, free: 30.28 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.4216, allocations: 1.125 kB / 0.5708 GB, free: 30.28 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004523/0.422, allocations: 89.95 kB / 0.5709 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004887/0.4225, allocations: 296.7 kB / 0.5712 GB, free: 29.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003772/0.4229, allocations: 99.73 kB / 0.5713 GB, free: 29.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002118/0.4231, allocations: 48.28 kB / 0.5713 GB, free: 29.94 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.4232, allocations: 2.094 kB / 0.5713 GB, free: 29.94 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.4232, allocations: 31.47 kB / 0.5713 GB, free: 29.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.794e-06/0.4232, allocations: 1.281 kB / 0.5713 GB, free: 29.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0007525/0.424, allocations: 171.3 kB / 0.5715 GB, free: 29.85 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.349e-05/0.424, allocations: 52.59 kB / 0.5716 GB, free: 29.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.875e-05/0.4241, allocations: 101.7 kB / 0.5717 GB, free: 29.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.4241, allocations: 28.72 kB / 0.5717 GB, free: 29.65 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.99e-05/0.4241, allocations: 85.94 kB / 0.5718 GB, free: 29.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.4241, allocations: 9.438 kB / 0.5718 GB, free: 29.56 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.849e-05/0.4242, allocations: 18.25 kB / 0.5718 GB, free: 29.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.777e-05/0.4242, allocations: 317.8 kB / 0.5721 GB, free: 29.22 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.4245, allocations: 44.52 kB / 0.5721 GB, free: 29.22 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002085/0.4247, allocations: 45.77 kB / 0.5722 GB, free: 29.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003953/0.4251, allocations: 96.08 kB / 0.5723 GB, free: 29.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4251, allocations: 0.875 kB / 0.5723 GB, free: 29.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004418/0.4255, allocations: 128.7 kB / 0.5724 GB, free: 29.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.4256, allocations: 4.906 kB / 0.5724 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.4256, allocations: 2.094 kB / 0.5724 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.4256, allocations: 0.7188 kB / 0.5724 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.4258, allocations: 23.11 kB / 0.5724 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.4258, allocations: 0 / 0.5724 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.4259, allocations: 19.52 kB / 0.5724 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.4259, allocations: 1.469 kB / 0.5724 GB, free: 29.14 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 6.792e-05/0.426, allocations: 112.1 kB / 0.5726 GB, free: 29.03 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.191e-05/0.426, allocations: 3.234 kB / 0.5726 GB, free: 29.03 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.001e-05/0.4261, allocations: 7.688 kB / 0.5726 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.4261, allocations: 2.594 kB / 0.5726 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.4261, allocations: 0.9062 kB / 0.5726 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.4261, allocations: 0 / 0.5726 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.4262, allocations: 182.2 kB / 0.5727 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4262, allocations: 3.938 kB / 0.5727 GB, free: 28.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001452/0.4264, allocations: 23.86 kB / 0.5728 GB, free: 28.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.4264, allocations: 0 / 0.5728 GB, free: 28.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.4264, allocations: 1.891 kB / 0.5728 GB, free: 28.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.4264, allocations: 0.7031 kB / 0.5728 GB, free: 28.81 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.4264, allocations: 5.25 kB / 0.5728 GB, free: 28.81 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004801/0.4269, allocations: 218.7 kB / 0.573 GB, free: 28.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.029e-05/0.4269, allocations: 85.16 kB / 0.5731 GB, free: 28.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.427, allocations: 1.062 kB / 0.5731 GB, free: 28.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.4271, allocations: 17.97 kB / 0.5731 GB, free: 28.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.345e-05/0.4272, allocations: 3.062 kB / 0.5731 GB, free: 28.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.4272, allocations: 1.406 kB / 0.5731 GB, free: 28.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.726e-05/0.4272, allocations: 86.2 kB / 0.5732 GB, free: 28.49 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.51e-07/0.4272, allocations: 1.312 kB / 0.5732 GB, free: 28.49 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002512/0.4275, allocations: 18.53 kB / 0.5732 GB, free: 28.48 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.0001452/0.4276, allocations: 103.3 kB / 0.5733 GB, free: 28.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005031/0.4281, allocations: 102.8 kB / 0.5734 GB, free: 28.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4281, allocations: 0 / 0.5734 GB, free: 28.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002257/0.4284, allocations: 46.05 kB / 0.5734 GB, free: 28.37 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.4287, allocations: 8.969 kB / 0.5734 GB, free: 28.37 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005578/0.4293, allocations: 159.7 kB / 0.5736 GB, free: 28.26 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/0.4294, allocations: 0.677 MB / 0.5743 GB, free: 27.56 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.815e-05/0.4295, allocations: 8.875 kB / 0.5743 GB, free: 27.56 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.438e-05/0.4295, allocations: 10.28 kB / 0.5743 GB, free: 27.56 MB / 446.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4295, allocations: 0.6875 kB / 0.5743 GB, free: 27.56 MB / 446.1 MB Notification: Performance of Templates: time 0.0035/0.433, allocations: 0.8257 MB / 0.5751 GB, free: 27.47 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)