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.001136/0.001136, allocations: 106.2 kB / 16.4 MB, free: 6.492 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.001156/0.001156, allocations: 197.2 kB / 17.34 MB, free: 5.766 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.385/1.385, allocations: 222.9 MB / 241 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.7363/0.7363, allocations: 115.3 MB / 406.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 67.05 kB / 0.5572 GB, free: 32.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1523, allocations: 76.18 MB / 0.6316 GB, free: 4.867 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001571/0.1539, allocations: 0.6116 MB / 0.6322 GB, free: 4.258 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001598/0.1555, allocations: 1.454 MB / 0.6337 GB, free: 2.785 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.579e-05/0.1555, allocations: 0 / 0.6337 GB, free: 2.785 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.242e-05/0.1555, allocations: 0 / 0.6337 GB, free: 2.785 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.708e-05/0.1556, allocations: 3.938 kB / 0.6337 GB, free: 2.781 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003745/0.156, allocations: 127.5 kB / 0.6338 GB, free: 2.656 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.625e-05/0.1561, allocations: 23.92 kB / 0.6338 GB, free: 2.633 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.121e-05/0.1561, allocations: 7.984 kB / 0.6338 GB, free: 2.625 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.084e-05/0.1561, allocations: 15.88 kB / 0.6338 GB, free: 2.609 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.883e-05/0.1562, allocations: 23.84 kB / 0.6339 GB, free: 2.586 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.1562, allocations: 0 / 0.6339 GB, free: 2.586 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004269/0.1567, allocations: 315.4 kB / 0.6342 GB, free: 2.277 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.546e-05/0.1567, allocations: 11.98 kB / 0.6342 GB, free: 2.266 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.368e-05/0.1567, allocations: 15.86 kB / 0.6342 GB, free: 2.25 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002623/0.157, allocations: 190.5 kB / 0.6344 GB, free: 2.066 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.157, allocations: 0 / 0.6344 GB, free: 2.066 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.157, allocations: 0 / 0.6344 GB, free: 2.066 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.157, allocations: 0 / 0.6344 GB, free: 2.066 MB / 478.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.0004655/0.1575, allocations: 384.1 kB / 0.6347 GB, free: 1.645 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.1575, allocations: 8.031 kB / 0.6347 GB, free: 1.637 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.823e-05/0.1576, allocations: 38.75 kB / 0.6348 GB, free: 1.59 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003662/0.1579, allocations: 56.86 kB / 0.6348 GB, free: 1.535 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.1581, allocations: 176.3 kB / 0.635 GB, free: 1.324 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.1581, allocations: 4.375 kB / 0.635 GB, free: 1.32 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.1581, allocations: 8.375 kB / 0.635 GB, free: 1.312 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002557/0.1584, allocations: 69.77 kB / 0.6351 GB, free: 1.238 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.1584, allocations: 4 kB / 0.6351 GB, free: 1.234 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.1584, allocations: 3.938 kB / 0.6351 GB, free: 1.23 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.1584, allocations: 0 / 0.6351 GB, free: 1.23 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000349/0.1588, allocations: 71.86 kB / 0.6352 GB, free: 1.16 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001578/0.159, allocations: 177.6 kB / 0.6353 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005145/0.1595, allocations: 126.5 kB / 0.6354 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001817/0.1597, allocations: 40.95 kB / 0.6355 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.345e-05/0.1597, allocations: 0 / 0.6355 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.1597, allocations: 38.5 kB / 0.6355 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of pre-optimization done (n=5): time 8.02e-07/0.1597, allocations: 0 / 0.6355 GB, free: 0.7148 MB / 478.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.004073/0.1638, allocations: 0.7817 MB / 0.6363 GB, free: 15.93 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.1639, allocations: 55.41 kB / 0.6363 GB, free: 15.86 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.092e-05/0.1639, allocations: 121.8 kB / 0.6364 GB, free: 15.73 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.164, allocations: 25.7 kB / 0.6365 GB, free: 15.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.567e-05/0.164, allocations: 84.14 kB / 0.6366 GB, free: 15.61 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.038e-05/0.1641, allocations: 35.53 kB / 0.6366 GB, free: 15.58 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.541e-05/0.1641, allocations: 25.7 kB / 0.6366 GB, free: 15.55 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.185e-05/0.1642, allocations: 318.8 kB / 0.6369 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004177/0.1646, allocations: 99.98 kB / 0.637 GB, free: 15.13 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004026/0.1651, allocations: 103.8 kB / 0.6371 GB, free: 15.03 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007706/0.1658, allocations: 188.7 kB / 0.6373 GB, free: 14.84 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1658, allocations: 3.938 kB / 0.6373 GB, free: 14.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008489/0.1667, allocations: 245.3 kB / 0.6375 GB, free: 14.59 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.1667, allocations: 5.875 kB / 0.6375 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.1667, allocations: 0 / 0.6375 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.1667, allocations: 0 / 0.6375 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002997/0.1671, allocations: 56.69 kB / 0.6376 GB, free: 14.53 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.1671, allocations: 0 / 0.6376 GB, free: 14.53 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002178/0.1673, allocations: 35.95 kB / 0.6376 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.1673, allocations: 4 kB / 0.6376 GB, free: 14.49 MB / 494.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.918e-05/0.1674, allocations: 125.7 kB / 0.6377 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.277e-05/0.1674, allocations: 7.906 kB / 0.6378 GB, free: 14.35 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.225e-05/0.1675, allocations: 12.38 kB / 0.6378 GB, free: 14.33 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1675, allocations: 0 / 0.6378 GB, free: 14.33 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.1675, allocations: 8 kB / 0.6378 GB, free: 14.32 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.1675, allocations: 3.984 kB / 0.6378 GB, free: 14.32 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001582/0.1691, allocations: 0.5896 MB / 0.6384 GB, free: 13.67 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1691, allocations: 0 / 0.6384 GB, free: 13.67 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002608/0.1694, allocations: 56 kB / 0.6384 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.1694, allocations: 3.938 kB / 0.6384 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.1694, allocations: 8.266 kB / 0.6384 GB, free: 13.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1694, allocations: 0 / 0.6384 GB, free: 13.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.1694, allocations: 7.938 kB / 0.6384 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000883/0.1703, allocations: 348.8 kB / 0.6388 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.096e-05/0.1704, allocations: 85.02 kB / 0.6388 GB, free: 13.13 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.542e-05/0.1704, allocations: 4 kB / 0.6388 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002652/0.1707, allocations: 39.95 kB / 0.6389 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.865e-05/0.1707, allocations: 11.92 kB / 0.6389 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.1708, allocations: 4 kB / 0.6389 GB, free: 13.07 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.276e-05/0.1708, allocations: 91.27 kB / 0.639 GB, free: 12.98 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1708, allocations: 0 / 0.639 GB, free: 12.98 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002989/0.1711, allocations: 44 kB / 0.639 GB, free: 12.94 MB / 494.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.001227/0.1724, allocations: 0.8974 MB / 0.6399 GB, free: 12.01 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008473/0.1732, allocations: 207.7 kB / 0.6401 GB, free: 11.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1732, allocations: 0 / 0.6401 GB, free: 11.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004115/0.1737, allocations: 108 kB / 0.6402 GB, free: 11.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.1739, allocations: 14 kB / 0.6402 GB, free: 11.69 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004372/0.1783, allocations: 2.13 MB / 0.6423 GB, free: 9.469 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.1786, allocations: 0.6844 MB / 0.643 GB, free: 8.762 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001015/0.1787, allocations: 29.38 kB / 0.643 GB, free: 8.734 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.104e-05/0.1788, allocations: 27.42 kB / 0.643 GB, free: 8.707 MB / 494.1 MB Notification: Performance of SimCode: time 1.924e-06/0.1788, allocations: 0 / 0.643 GB, free: 8.707 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01843/0.1972, allocations: 2.784 MB / 0.6457 GB, free: 6.016 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.569/7.766, allocations: 18.12 kB / 0.6458 GB, free: 6 MB / 494.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)