Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.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.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007867/0.0007865, allocations: 93.73 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009026/0.0009026, allocations: 182.1 kB / 16.92 MB, free: 6.91 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.456/1.456, allocations: 223.2 MB / 241 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7676/0.7676, allocations: 123.1 MB / 415.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000445/0.0004455, allocations: 12 kB / 0.4934 GB, free: 13.93 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.495/0.4955, allocations: 79.29 MB / 0.5708 GB, free: 9.891 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0008975/0.4965, allocations: 364 kB / 0.5711 GB, free: 9.875 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002266/0.4987, allocations: 1.452 MB / 0.5726 GB, free: 9.578 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.583e-05/0.4988, allocations: 1.844 kB / 0.5726 GB, free: 9.578 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.088e-05/0.4988, allocations: 3.938 kB / 0.5726 GB, free: 9.574 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.286e-05/0.4989, allocations: 3.266 kB / 0.5726 GB, free: 9.574 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003959/0.4993, allocations: 102.2 kB / 0.5727 GB, free: 9.523 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.553e-05/0.4994, allocations: 21.72 kB / 0.5727 GB, free: 9.52 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.456e-05/0.4995, allocations: 2.594 kB / 0.5727 GB, free: 9.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.603e-05/0.4995, allocations: 15.97 kB / 0.5727 GB, free: 9.512 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.988e-05/0.4996, allocations: 22.78 kB / 0.5727 GB, free: 9.5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.4996, allocations: 2.344 kB / 0.5727 GB, free: 9.5 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006023/0.5002, allocations: 322.2 kB / 0.573 GB, free: 9.406 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.824e-05/0.5003, allocations: 8.875 kB / 0.573 GB, free: 9.402 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.117e-05/0.5003, allocations: 33.47 kB / 0.5731 GB, free: 9.367 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000347/0.5006, allocations: 188.4 kB / 0.5733 GB, free: 9.316 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.5007, allocations: 0 / 0.5733 GB, free: 9.316 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5007, allocations: 0 / 0.5733 GB, free: 9.316 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.5007, allocations: 0 / 0.5733 GB, free: 9.316 MB / 430.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.0004597/0.5011, allocations: 371 kB / 0.5736 GB, free: 8.934 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.5012, allocations: 17.19 kB / 0.5736 GB, free: 8.926 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004192/0.5016, allocations: 78.73 kB / 0.5737 GB, free: 8.914 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.5017, allocations: 175.8 kB / 0.5739 GB, free: 8.711 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.5018, allocations: 4.375 kB / 0.5739 GB, free: 8.707 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.5018, allocations: 3.188 kB / 0.5739 GB, free: 8.707 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002919/0.5021, allocations: 82.66 kB / 0.574 GB, free: 8.664 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.5021, allocations: 4.656 kB / 0.574 GB, free: 8.66 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.5021, allocations: 0.75 kB / 0.574 GB, free: 8.66 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.5022, allocations: 1.031 kB / 0.574 GB, free: 8.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004178/0.5026, allocations: 87.7 kB / 0.574 GB, free: 8.648 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001956/0.5028, allocations: 165.9 kB / 0.5742 GB, free: 8.453 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000641/0.5034, allocations: 150.3 kB / 0.5743 GB, free: 8.406 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002079/0.5036, allocations: 46.33 kB / 0.5744 GB, free: 8.395 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.5037, allocations: 1.438 kB / 0.5744 GB, free: 8.395 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.5037, allocations: 40.16 kB / 0.5744 GB, free: 8.348 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.372e-06/0.5037, allocations: 0 / 0.5744 GB, free: 8.348 MB / 430.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=9): time 0.004717/0.5084, allocations: 0.9535 MB / 0.5754 GB, free: 8.195 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.5085, allocations: 53.19 kB / 0.5754 GB, free: 8.133 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.458e-05/0.5086, allocations: 113 kB / 0.5755 GB, free: 8.027 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.5086, allocations: 31.22 kB / 0.5755 GB, free: 7.992 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.316e-05/0.5086, allocations: 86.3 kB / 0.5756 GB, free: 7.906 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.29e-05/0.5087, allocations: 29.56 kB / 0.5757 GB, free: 7.883 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/0.5087, allocations: 13.45 kB / 0.5757 GB, free: 7.867 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.164e-05/0.5088, allocations: 322.1 kB / 0.576 GB, free: 7.547 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004905/0.5093, allocations: 114.4 kB / 0.5761 GB, free: 7.535 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004804/0.5098, allocations: 118.7 kB / 0.5762 GB, free: 7.52 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009835/0.5108, allocations: 243.4 kB / 0.5764 GB, free: 7.469 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.5108, allocations: 0.7969 kB / 0.5764 GB, free: 7.469 MB / 430.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001177/0.512, allocations: 286.9 kB / 0.5767 GB, free: 7.395 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/0.512, allocations: 4.875 kB / 0.5767 GB, free: 7.395 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.512, allocations: 4.656 kB / 0.5767 GB, free: 7.391 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.5121, allocations: 1.312 kB / 0.5767 GB, free: 7.391 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003816/0.5125, allocations: 65.48 kB / 0.5768 GB, free: 7.387 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.5125, allocations: 1.062 kB / 0.5768 GB, free: 7.387 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002675/0.5127, allocations: 50.55 kB / 0.5768 GB, free: 7.379 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.5128, allocations: 4.812 kB / 0.5768 GB, free: 7.379 MB / 430.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 (9): * Single equations (assignments): 9 * 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 8.815e-05/0.5129, allocations: 116.6 kB / 0.5769 GB, free: 7.258 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.237e-05/0.5129, allocations: 3.75 kB / 0.5769 GB, free: 7.258 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.142e-05/0.513, allocations: 10.95 kB / 0.577 GB, free: 7.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.513, allocations: 0.9062 kB / 0.577 GB, free: 7.25 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.513, allocations: 4.594 kB / 0.577 GB, free: 7.246 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.513, allocations: 1.562 kB / 0.577 GB, free: 7.246 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001904/0.5149, allocations: 0.6664 MB / 0.5776 GB, free: 6.859 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.5149, allocations: 0.6094 kB / 0.5776 GB, free: 6.859 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002908/0.5152, allocations: 68.38 kB / 0.5777 GB, free: 6.852 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.5152, allocations: 2.188 kB / 0.5777 GB, free: 6.852 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.5152, allocations: 3.953 kB / 0.5777 GB, free: 6.852 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.5153, allocations: 1.266 kB / 0.5777 GB, free: 6.852 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.5153, allocations: 9.469 kB / 0.5777 GB, free: 6.844 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.5163, allocations: 384.5 kB / 0.5781 GB, free: 6.656 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.935e-05/0.5164, allocations: 84.73 kB / 0.5781 GB, free: 6.559 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.5164, allocations: 1.312 kB / 0.5781 GB, free: 6.559 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002708/0.5167, allocations: 50.45 kB / 0.5782 GB, free: 6.551 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.484e-05/0.5167, allocations: 20.94 kB / 0.5782 GB, free: 6.539 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.5167, allocations: 5.812 kB / 0.5782 GB, free: 6.539 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.819e-05/0.5168, allocations: 90.12 kB / 0.5783 GB, free: 6.461 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5168, allocations: 3.938 kB / 0.5783 GB, free: 6.457 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003282/0.5171, allocations: 37.5 kB / 0.5783 GB, free: 6.449 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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.0002315/0.5174, allocations: 131.5 kB / 0.5785 GB, free: 6.348 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001035/0.5184, allocations: 255.3 kB / 0.5787 GB, free: 6.309 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.5184, allocations: 0.7188 kB / 0.5787 GB, free: 6.309 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005122/0.5189, allocations: 131.6 kB / 0.5788 GB, free: 6.289 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.5192, allocations: 8.031 kB / 0.5788 GB, free: 6.285 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.521, allocations: 482.1 kB / 0.5793 GB, free: 6.102 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001462/0.5212, allocations: 0.6869 MB / 0.58 GB, free: 5.406 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001223/0.5213, allocations: 18.81 kB / 0.58 GB, free: 5.402 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.716e-05/0.5214, allocations: 20.83 kB / 0.58 GB, free: 5.395 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.5214, allocations: 4 kB / 0.58 GB, free: 5.391 MB / 430.1 MB Notification: Performance of Templates: time 0.005571/0.527, allocations: 1.581 MB / 0.5816 GB, free: 5.266 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)