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.00167/0.00167, allocations: 100.1 kB / 15.88 MB, free: 12 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.001941/0.001941, allocations: 209.8 kB / 16.79 MB, free: 6.84 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.246/1.246, allocations: 222.9 MB / 240.5 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.63/0.63, allocations: 115.3 MB / 406 MB, free: 2.805 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 67.14 kB / 493 MB, free: 6.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1229, allocations: 76.19 MB / 0.5559 GB, free: 10.74 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001567/0.1245, allocations: 0.6848 MB / 0.5565 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0016/0.1261, allocations: 1.462 MB / 0.558 GB, free: 8.562 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.6e-05/0.1262, allocations: 4 kB / 0.558 GB, free: 8.559 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.631e-05/0.1262, allocations: 0 / 0.558 GB, free: 8.559 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.083e-05/0.1263, allocations: 3.938 kB / 0.558 GB, free: 8.555 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000295/0.1266, allocations: 90.89 kB / 0.5581 GB, free: 8.469 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.282e-05/0.1266, allocations: 35.84 kB / 0.5581 GB, free: 8.434 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.449e-05/0.1267, allocations: 11.94 kB / 0.5581 GB, free: 8.422 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.736e-05/0.1267, allocations: 7.938 kB / 0.5581 GB, free: 8.414 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.905e-05/0.1268, allocations: 23.91 kB / 0.5581 GB, free: 8.391 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.1268, allocations: 0 / 0.5581 GB, free: 8.391 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000414/0.1272, allocations: 319.3 kB / 0.5584 GB, free: 8.078 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.494e-05/0.1272, allocations: 7.984 kB / 0.5584 GB, free: 8.07 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.523e-05/0.1273, allocations: 19.84 kB / 0.5585 GB, free: 8.051 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002621/0.1275, allocations: 191.9 kB / 0.5586 GB, free: 7.863 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1276, allocations: 0 / 0.5586 GB, free: 7.863 MB / 430.1 MB Notification: Performance of FrontEnd: time 6.92e-07/0.1276, allocations: 0 / 0.5586 GB, free: 7.863 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.1276, allocations: 0 / 0.5586 GB, free: 7.863 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.0004356/0.128, allocations: 375.3 kB / 0.559 GB, free: 7.449 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.128, allocations: 8.031 kB / 0.559 GB, free: 7.441 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.829e-05/0.1281, allocations: 34.75 kB / 0.559 GB, free: 7.398 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003666/0.1285, allocations: 60.86 kB / 0.5591 GB, free: 7.34 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.1286, allocations: 176.2 kB / 0.5593 GB, free: 7.129 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.1286, allocations: 4.375 kB / 0.5593 GB, free: 7.125 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.1286, allocations: 384 / 0.5593 GB, free: 7.125 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002712/0.1289, allocations: 85.77 kB / 0.5594 GB, free: 7.035 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.1289, allocations: 0 / 0.5594 GB, free: 7.035 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.1289, allocations: 0 / 0.5594 GB, free: 7.035 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.1289, allocations: 0 / 0.5594 GB, free: 7.035 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003661/0.1293, allocations: 75.91 kB / 0.5594 GB, free: 6.961 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001599/0.1295, allocations: 161.7 kB / 0.5596 GB, free: 6.754 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005525/0.13, allocations: 130.4 kB / 0.5597 GB, free: 6.617 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000189/0.1302, allocations: 44.89 kB / 0.5597 GB, free: 6.57 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.1303, allocations: 0 / 0.5597 GB, free: 6.57 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.1303, allocations: 38.5 kB / 0.5598 GB, free: 6.523 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 9.51e-07/0.1303, allocations: 4 kB / 0.5598 GB, free: 6.52 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.004195/0.1345, allocations: 0.7861 MB / 0.5606 GB, free: 5.727 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.1345, allocations: 51.41 kB / 0.5606 GB, free: 5.664 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.161e-05/0.1346, allocations: 109.8 kB / 0.5607 GB, free: 5.547 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.1347, allocations: 29.7 kB / 0.5607 GB, free: 5.512 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.024e-05/0.1347, allocations: 84.14 kB / 0.5608 GB, free: 5.426 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.286e-05/0.1347, allocations: 31.55 kB / 0.5608 GB, free: 5.395 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.024e-05/0.1348, allocations: 33.8 kB / 0.5609 GB, free: 5.355 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.577e-05/0.1349, allocations: 314.8 kB / 0.5612 GB, free: 5.039 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000443/0.1353, allocations: 95.89 kB / 0.5613 GB, free: 4.945 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004292/0.1358, allocations: 96.08 kB / 0.5614 GB, free: 4.852 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008401/0.1366, allocations: 200.6 kB / 0.5616 GB, free: 4.652 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1366, allocations: 3.938 kB / 0.5616 GB, free: 4.648 MB / 430.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009183/0.1376, allocations: 241.3 kB / 0.5618 GB, free: 4.406 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.1376, allocations: 10.03 kB / 0.5618 GB, free: 4.398 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.1376, allocations: 0 / 0.5618 GB, free: 4.398 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.017e-06/0.1376, allocations: 4 kB / 0.5618 GB, free: 4.395 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003188/0.1379, allocations: 55.94 kB / 0.5619 GB, free: 4.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.138, allocations: 0 / 0.5619 GB, free: 4.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002322/0.1382, allocations: 35.95 kB / 0.5619 GB, free: 4.305 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.1382, allocations: 4 kB / 0.5619 GB, free: 4.301 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 7.854e-05/0.1383, allocations: 121.8 kB / 0.562 GB, free: 4.172 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.313e-05/0.1383, allocations: 3.906 kB / 0.562 GB, free: 4.168 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.813e-05/0.1384, allocations: 20.36 kB / 0.562 GB, free: 4.148 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1384, allocations: 0 / 0.562 GB, free: 4.148 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1384, allocations: 0 / 0.562 GB, free: 4.148 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1384, allocations: 0 / 0.562 GB, free: 4.148 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001644/0.14, allocations: 0.6055 MB / 0.5626 GB, free: 3.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1401, allocations: 0 / 0.5626 GB, free: 3.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002717/0.1403, allocations: 48.22 kB / 0.5627 GB, free: 3.434 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1403, allocations: 12 kB / 0.5627 GB, free: 3.422 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.1404, allocations: 3.984 kB / 0.5627 GB, free: 3.418 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1404, allocations: 7.938 kB / 0.5627 GB, free: 3.41 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.1404, allocations: 3.938 kB / 0.5627 GB, free: 3.406 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009431/0.1413, allocations: 348.9 kB / 0.563 GB, free: 3.043 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.481e-05/0.1414, allocations: 81.02 kB / 0.5631 GB, free: 2.945 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.1414, allocations: 4 kB / 0.5631 GB, free: 2.941 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002681/0.1417, allocations: 35.95 kB / 0.5631 GB, free: 2.906 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.94e-05/0.1417, allocations: 19.86 kB / 0.5632 GB, free: 2.887 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.1417, allocations: 4 kB / 0.5632 GB, free: 2.883 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.88e-05/0.1418, allocations: 91.27 kB / 0.5633 GB, free: 2.793 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1418, allocations: 0 / 0.5633 GB, free: 2.793 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002916/0.1421, allocations: 43.98 kB / 0.5633 GB, free: 2.75 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.001271/0.1434, allocations: 0.8897 MB / 0.5642 GB, free: 1.828 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009073/0.1443, allocations: 207.7 kB / 0.5644 GB, free: 1.625 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1443, allocations: 0 / 0.5644 GB, free: 1.625 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004421/0.1448, allocations: 108 kB / 0.5645 GB, free: 1.52 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.145, allocations: 15.92 kB / 0.5645 GB, free: 1.504 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004498/0.1495, allocations: 2.136 MB / 0.5666 GB, free: 15.28 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000223/0.1497, allocations: 0.6902 MB / 0.5672 GB, free: 14.56 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001177/0.1499, allocations: 20.61 kB / 0.5673 GB, free: 14.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.003e-05/0.15, allocations: 34.36 kB / 0.5673 GB, free: 14.51 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.15, allocations: 0 / 0.5673 GB, free: 14.51 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1182/0.2682, allocations: 2.497 MB / 0.5697 GB, free: 12.12 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002931/0.2686, allocations: 208.9 kB / 0.5699 GB, free: 11.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.911/2.18, allocations: 4 kB / 0.5699 GB, free: 11.86 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/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)