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.001744/0.001744, allocations: 96.97 kB / 15.69 MB, free: 480 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.002448/0.002448, allocations: 174.8 kB / 16.57 MB, free: 6.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.254/2.254, allocations: 223.2 MB / 240.5 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.143/1.143, allocations: 113.7 MB / 405.3 MB, free: 4.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005947/0.0005947, allocations: 12 kB / 493 MB, free: 8.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3277, allocations: 77.11 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001293/0.3291, allocations: 343.1 kB / 0.5571 GB, free: 11.36 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003119/0.3322, allocations: 1.391 MB / 0.5584 GB, free: 9.953 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.305e-05/0.3323, allocations: 0 / 0.5584 GB, free: 9.953 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.286e-05/0.3323, allocations: 0 / 0.5584 GB, free: 9.953 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001379/0.3325, allocations: 15.92 kB / 0.5584 GB, free: 9.938 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006347/0.3331, allocations: 91.69 kB / 0.5585 GB, free: 9.848 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.389e-05/0.3332, allocations: 15.97 kB / 0.5585 GB, free: 9.832 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.509e-05/0.3333, allocations: 4 kB / 0.5585 GB, free: 9.828 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.954e-05/0.3334, allocations: 15.92 kB / 0.5586 GB, free: 9.812 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.3335, allocations: 15.92 kB / 0.5586 GB, free: 9.797 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.3336, allocations: 3.938 kB / 0.5586 GB, free: 9.793 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007793/0.3344, allocations: 311.5 kB / 0.5589 GB, free: 9.488 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.548e-05/0.3344, allocations: 11.97 kB / 0.5589 GB, free: 9.477 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.824e-05/0.3345, allocations: 29.7 kB / 0.5589 GB, free: 9.441 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003659/0.3348, allocations: 140 kB / 0.559 GB, free: 9.305 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3349, allocations: 0 / 0.559 GB, free: 9.305 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.677e-06/0.3349, allocations: 0 / 0.559 GB, free: 9.305 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.442e-05/0.3349, allocations: 0 / 0.559 GB, free: 9.305 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.0008254/0.3357, allocations: 371.2 kB / 0.5594 GB, free: 8.895 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.686e-05/0.3358, allocations: 12.02 kB / 0.5594 GB, free: 8.883 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.283e-05/0.3359, allocations: 30.56 kB / 0.5594 GB, free: 8.844 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006647/0.3366, allocations: 79.83 kB / 0.5595 GB, free: 8.766 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.3369, allocations: 175 kB / 0.5597 GB, free: 8.555 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.3369, allocations: 0 / 0.5597 GB, free: 8.555 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/0.3369, allocations: 4 kB / 0.5597 GB, free: 8.551 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005077/0.3374, allocations: 81.59 kB / 0.5598 GB, free: 8.465 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.3375, allocations: 0 / 0.5598 GB, free: 8.465 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.3375, allocations: 7.984 kB / 0.5598 GB, free: 8.457 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.3375, allocations: 0 / 0.5598 GB, free: 8.457 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005499/0.3381, allocations: 87.91 kB / 0.5599 GB, free: 8.371 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003349/0.3384, allocations: 165.7 kB / 0.56 GB, free: 8.16 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008425/0.3393, allocations: 146.4 kB / 0.5602 GB, free: 8.008 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/0.3393, allocations: 4 kB / 0.5602 GB, free: 8.004 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.075e-05/0.3394, allocations: 30.56 kB / 0.5602 GB, free: 7.965 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 2.364e-06/0.3394, allocations: 0 / 0.5602 GB, free: 7.965 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.006494/0.3459, allocations: 0.9637 MB / 0.5611 GB, free: 6.996 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.786e-05/0.346, allocations: 55.39 kB / 0.5612 GB, free: 6.93 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.3462, allocations: 113.8 kB / 0.5613 GB, free: 6.809 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.504e-05/0.3463, allocations: 25.7 kB / 0.5613 GB, free: 6.777 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.118e-05/0.3464, allocations: 92.05 kB / 0.5614 GB, free: 6.684 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.009e-05/0.3464, allocations: 23.66 kB / 0.5614 GB, free: 6.66 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.551e-05/0.3465, allocations: 3.938 kB / 0.5614 GB, free: 6.656 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002417/0.3467, allocations: 322.8 kB / 0.5617 GB, free: 6.332 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006376/0.3474, allocations: 115.9 kB / 0.5618 GB, free: 6.219 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006227/0.348, allocations: 119.9 kB / 0.562 GB, free: 6.102 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007444/0.3488, allocations: 123.8 kB / 0.5621 GB, free: 5.98 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3488, allocations: 0 / 0.5621 GB, free: 5.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001617/0.3504, allocations: 281.4 kB / 0.5623 GB, free: 5.699 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.686e-05/0.3505, allocations: 7.953 kB / 0.5624 GB, free: 5.691 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.3505, allocations: 0 / 0.5624 GB, free: 5.691 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.3505, allocations: 0 / 0.5624 GB, free: 5.691 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004902/0.351, allocations: 72.12 kB / 0.5624 GB, free: 5.621 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.3511, allocations: 0 / 0.5624 GB, free: 5.621 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003531/0.3514, allocations: 47.95 kB / 0.5625 GB, free: 5.574 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.13e-05/0.3515, allocations: 7.984 kB / 0.5625 GB, free: 5.566 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 0.0001908/0.3517, allocations: 113.8 kB / 0.5626 GB, free: 5.445 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.625e-05/0.3517, allocations: 3.906 kB / 0.5626 GB, free: 5.441 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.526e-05/0.3518, allocations: 20.33 kB / 0.5626 GB, free: 5.422 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.3518, allocations: 0 / 0.5626 GB, free: 5.422 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.928e-06/0.3518, allocations: 0 / 0.5626 GB, free: 5.422 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.3519, allocations: 0 / 0.5626 GB, free: 5.422 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002668/0.3545, allocations: 0.6637 MB / 0.5633 GB, free: 4.695 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.3546, allocations: 0 / 0.5633 GB, free: 4.695 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004439/0.355, allocations: 64 kB / 0.5633 GB, free: 4.633 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-05/0.3551, allocations: 4 kB / 0.5633 GB, free: 4.629 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.144e-05/0.3551, allocations: 7.984 kB / 0.5633 GB, free: 4.621 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.3551, allocations: 4 kB / 0.5633 GB, free: 4.617 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3551, allocations: 0 / 0.5633 GB, free: 4.617 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001687/0.3568, allocations: 408.6 kB / 0.5637 GB, free: 4.184 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.794e-05/0.3569, allocations: 81.02 kB / 0.5638 GB, free: 4.086 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.914e-05/0.357, allocations: 8 kB / 0.5638 GB, free: 4.078 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004376/0.3574, allocations: 43.95 kB / 0.5638 GB, free: 4.035 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.45e-05/0.3576, allocations: 11.94 kB / 0.5639 GB, free: 4.023 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/0.3576, allocations: 7.984 kB / 0.5639 GB, free: 4.016 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001215/0.3577, allocations: 99.2 kB / 0.564 GB, free: 3.918 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3577, allocations: 0 / 0.564 GB, free: 3.918 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005774/0.3583, allocations: 39.98 kB / 0.564 GB, free: 3.879 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.002658/0.361, allocations: 1.101 MB / 0.5651 GB, free: 2.738 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001637/0.3627, allocations: 255.7 kB / 0.5653 GB, free: 2.488 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.3627, allocations: 0 / 0.5653 GB, free: 2.488 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007181/0.3634, allocations: 128 kB / 0.5654 GB, free: 2.363 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.3637, allocations: 7.984 kB / 0.5654 GB, free: 2.355 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005735/0.3695, allocations: 1.141 MB / 0.5666 GB, free: 1.164 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005438/0.3701, allocations: 0.6894 MB / 0.5672 GB, free: 460 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001963/0.3703, allocations: 21.5 kB / 0.5673 GB, free: 436 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.3705, allocations: 27.42 kB / 0.5673 GB, free: 408 kB / 430.1 MB Notification: Performance of SimCode: time 1.693e-06/0.3705, allocations: 0 / 0.5673 GB, free: 408 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06431/0.4348, allocations: 2.414 MB / 0.5696 GB, free: 14.13 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0007062/0.4356, allocations: 198.6 kB / 0.5698 GB, free: 13.89 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.327/3.762, allocations: 0 / 0.5698 GB, free: 13.89 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: