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: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007811/0.0007813, allocations: 93.09 kB / 15.7 MB, free: 472 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.0008576/0.0008576, allocations: 176.9 kB / 16.58 MB, free: 5.684 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.166/1.166, allocations: 223.3 MB / 240.6 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6015/0.6015, allocations: 113.7 MB / 405.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002717/0.0002718, allocations: 16.22 kB / 493.2 MB, free: 8.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1207, allocations: 77.12 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0005885/0.1213, allocations: 343.1 kB / 0.5572 GB, free: 11.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00153/0.1229, allocations: 1.383 MB / 0.5586 GB, free: 9.922 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.858e-05/0.1229, allocations: 4 kB / 0.5586 GB, free: 9.918 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.058e-05/0.123, allocations: 3.938 kB / 0.5586 GB, free: 9.914 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.139e-05/0.123, allocations: 11.98 kB / 0.5586 GB, free: 9.902 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003154/0.1233, allocations: 91.64 kB / 0.5587 GB, free: 9.812 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.518e-05/0.1234, allocations: 23.92 kB / 0.5587 GB, free: 9.789 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.329e-05/0.1234, allocations: 0 / 0.5587 GB, free: 9.789 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.999e-05/0.1235, allocations: 15.92 kB / 0.5587 GB, free: 9.773 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.054e-05/0.1235, allocations: 19.92 kB / 0.5588 GB, free: 9.754 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.1235, allocations: 4 kB / 0.5588 GB, free: 9.75 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003833/0.1239, allocations: 307.4 kB / 0.559 GB, free: 9.449 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.155e-05/0.124, allocations: 11.92 kB / 0.5591 GB, free: 9.438 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.585e-05/0.124, allocations: 25.7 kB / 0.5591 GB, free: 9.406 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001708/0.1242, allocations: 132.1 kB / 0.5592 GB, free: 9.277 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1242, allocations: 0 / 0.5592 GB, free: 9.277 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1242, allocations: 0 / 0.5592 GB, free: 9.277 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.895e-06/0.1242, allocations: 0 / 0.5592 GB, free: 9.277 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.0003894/0.1246, allocations: 371.2 kB / 0.5596 GB, free: 8.867 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.1246, allocations: 8.031 kB / 0.5596 GB, free: 8.859 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.983e-05/0.1247, allocations: 38.55 kB / 0.5596 GB, free: 8.812 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003107/0.125, allocations: 75.83 kB / 0.5597 GB, free: 8.738 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.1251, allocations: 163.1 kB / 0.5598 GB, free: 8.539 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.1251, allocations: 4 kB / 0.5598 GB, free: 8.535 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.1251, allocations: 4 kB / 0.5598 GB, free: 8.531 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002289/0.1254, allocations: 89.53 kB / 0.5599 GB, free: 8.438 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.1254, allocations: 0 / 0.5599 GB, free: 8.438 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.1254, allocations: 0 / 0.5599 GB, free: 8.438 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.1254, allocations: 0 / 0.5599 GB, free: 8.438 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002949/0.1257, allocations: 91.91 kB / 0.56 GB, free: 8.348 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001504/0.1259, allocations: 169.7 kB / 0.5602 GB, free: 8.133 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004571/0.1263, allocations: 142.5 kB / 0.5603 GB, free: 7.984 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/0.1265, allocations: 60.88 kB / 0.5604 GB, free: 7.922 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.1265, allocations: 7.938 kB / 0.5604 GB, free: 7.914 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.604e-05/0.1266, allocations: 30.56 kB / 0.5604 GB, free: 7.875 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 9.51e-07/0.1266, allocations: 0 / 0.5604 GB, free: 7.875 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.003452/0.13, allocations: 0.9536 MB / 0.5613 GB, free: 6.914 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.1301, allocations: 55.34 kB / 0.5614 GB, free: 6.848 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.151e-05/0.1301, allocations: 109.8 kB / 0.5615 GB, free: 6.73 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.1302, allocations: 29.7 kB / 0.5615 GB, free: 6.695 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.641e-05/0.1302, allocations: 88.05 kB / 0.5616 GB, free: 6.605 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.1302, allocations: 31.64 kB / 0.5616 GB, free: 6.574 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.077e-05/0.1303, allocations: 4 kB / 0.5616 GB, free: 6.57 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.386e-05/0.1303, allocations: 310.8 kB / 0.5619 GB, free: 6.258 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000358/0.1307, allocations: 119.9 kB / 0.5621 GB, free: 6.141 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003398/0.1311, allocations: 119.9 kB / 0.5622 GB, free: 6.023 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003373/0.1314, allocations: 111.9 kB / 0.5623 GB, free: 5.914 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1314, allocations: 0 / 0.5623 GB, free: 5.914 MB / 430.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000751/0.1322, allocations: 289.3 kB / 0.5626 GB, free: 5.625 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.1322, allocations: 4 kB / 0.5626 GB, free: 5.621 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.1322, allocations: 0 / 0.5626 GB, free: 5.621 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.1322, allocations: 4.375 kB / 0.5626 GB, free: 5.617 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00027/0.1325, allocations: 67.92 kB / 0.5626 GB, free: 5.551 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.1325, allocations: 0 / 0.5626 GB, free: 5.551 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001876/0.1327, allocations: 47.94 kB / 0.5627 GB, free: 5.504 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.1327, allocations: 11.94 kB / 0.5627 GB, free: 5.492 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.616e-05/0.1328, allocations: 118.4 kB / 0.5628 GB, free: 5.367 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.65e-05/0.1328, allocations: 7.859 kB / 0.5628 GB, free: 5.359 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.708e-05/0.1329, allocations: 20.36 kB / 0.5628 GB, free: 5.34 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1329, allocations: 0 / 0.5628 GB, free: 5.34 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.1329, allocations: 0.75 kB / 0.5628 GB, free: 5.34 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1329, allocations: 0 / 0.5628 GB, free: 5.34 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001397/0.1343, allocations: 0.6599 MB / 0.5635 GB, free: 4.617 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.1343, allocations: 7.938 kB / 0.5635 GB, free: 4.609 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002332/0.1345, allocations: 71.92 kB / 0.5635 GB, free: 4.539 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1346, allocations: 4 kB / 0.5635 GB, free: 4.535 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.1346, allocations: 8 kB / 0.5636 GB, free: 4.527 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.1346, allocations: 0 / 0.5636 GB, free: 4.527 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1346, allocations: 0 / 0.5636 GB, free: 4.527 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007631/0.1354, allocations: 381 kB / 0.5639 GB, free: 4.133 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.067e-05/0.1354, allocations: 85 kB / 0.564 GB, free: 4.031 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.1354, allocations: 8 kB / 0.564 GB, free: 4.023 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/0.1356, allocations: 43.95 kB / 0.564 GB, free: 3.98 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.364e-05/0.1357, allocations: 7.984 kB / 0.5641 GB, free: 3.973 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-06/0.1357, allocations: 4 kB / 0.5641 GB, free: 3.969 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.169e-05/0.1358, allocations: 95.66 kB / 0.5642 GB, free: 3.875 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1358, allocations: 4 kB / 0.5642 GB, free: 3.871 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002632/0.136, allocations: 32 kB / 0.5642 GB, free: 3.84 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001086/0.1371, allocations: 0.9412 MB / 0.5651 GB, free: 2.867 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007447/0.1379, allocations: 255.9 kB / 0.5653 GB, free: 2.617 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1379, allocations: 192 / 0.5653 GB, free: 2.617 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003699/0.1383, allocations: 127.9 kB / 0.5655 GB, free: 2.492 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.1385, allocations: 13.62 kB / 0.5655 GB, free: 2.48 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002732/0.1412, allocations: 1.152 MB / 0.5666 GB, free: 1.277 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002018/0.1414, allocations: 0.6849 MB / 0.5673 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001114/0.1416, allocations: 24.66 kB / 0.5673 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.469e-05/0.1416, allocations: 27.42 kB / 0.5673 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1416, allocations: 0 / 0.5673 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01105/0.1527, allocations: 2.431 MB / 0.5697 GB, free: 14.23 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001773/0.1529, allocations: 193.3 kB / 0.5699 GB, free: 13.98 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.474/1.627, allocations: 0 / 0.5699 GB, free: 13.98 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) Environment - environmentSimulation: