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.001129/0.001129, allocations: 104.3 kB / 16.27 MB, free: 6.41 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.001449/0.001449, allocations: 184.6 kB / 17.19 MB, free: 5.953 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.286/1.286, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6884/0.6884, allocations: 122.9 MB / 413.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 63.89 kB / 0.4912 GB, free: 7.383 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3256, allocations: 77.92 MB / 0.5673 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001772/0.3274, allocations: 0.6192 MB / 0.5679 GB, free: 32.33 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001689/0.3291, allocations: 1.45 MB / 0.5693 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.785e-05/0.3292, allocations: 2.156 kB / 0.5693 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.742e-05/0.3292, allocations: 3.938 kB / 0.5693 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.308e-05/0.3293, allocations: 2.516 kB / 0.5693 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004863/0.3298, allocations: 129.2 kB / 0.5694 GB, free: 31.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.694e-05/0.3299, allocations: 24.44 kB / 0.5695 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.213e-05/0.3299, allocations: 7.453 kB / 0.5695 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.933e-05/0.33, allocations: 7.641 kB / 0.5695 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.344e-05/0.33, allocations: 24.41 kB / 0.5695 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.3301, allocations: 3.375 kB / 0.5695 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005325/0.3306, allocations: 320.3 kB / 0.5698 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.746e-05/0.3306, allocations: 2.953 kB / 0.5698 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.422e-05/0.3307, allocations: 21.42 kB / 0.5698 GB, free: 31.08 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003406/0.331, allocations: 193.2 kB / 0.57 GB, free: 31.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.331, allocations: 0 / 0.57 GB, free: 31.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.331, allocations: 0 / 0.57 GB, free: 31.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.331, allocations: 1.844 kB / 0.57 GB, free: 31.02 MB / 446.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.0004938/0.3315, allocations: 374.6 kB / 0.5704 GB, free: 30.64 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.3316, allocations: 10.55 kB / 0.5704 GB, free: 30.64 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.588e-05/0.3316, allocations: 36.69 kB / 0.5704 GB, free: 30.6 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004032/0.332, allocations: 59.55 kB / 0.5705 GB, free: 30.6 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.3322, allocations: 175.4 kB / 0.5707 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.3322, allocations: 1.688 kB / 0.5707 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.3322, allocations: 2.562 kB / 0.5707 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002736/0.3325, allocations: 82.88 kB / 0.5707 GB, free: 30.35 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.3325, allocations: 0.5938 kB / 0.5707 GB, free: 30.35 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.3326, allocations: 1.344 kB / 0.5707 GB, free: 30.35 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.3326, allocations: 0.6562 kB / 0.5707 GB, free: 30.35 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003449/0.3329, allocations: 72.06 kB / 0.5708 GB, free: 30.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001371/0.3331, allocations: 166.5 kB / 0.571 GB, free: 30.15 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005079/0.3336, allocations: 122.1 kB / 0.5711 GB, free: 30.12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001684/0.3338, allocations: 42.98 kB / 0.5711 GB, free: 30.11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.3338, allocations: 1.562 kB / 0.5711 GB, free: 30.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.3338, allocations: 46.22 kB / 0.5712 GB, free: 30.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.963e-06/0.3338, allocations: 0 / 0.5712 GB, free: 30.05 MB / 446.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.003998/0.3378, allocations: 0.7871 MB / 0.5719 GB, free: 29.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.496e-05/0.3379, allocations: 53.3 kB / 0.572 GB, free: 29.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.457e-05/0.3379, allocations: 110.8 kB / 0.5721 GB, free: 29.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.338, allocations: 30.39 kB / 0.5721 GB, free: 29.76 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.156e-05/0.338, allocations: 85.95 kB / 0.5722 GB, free: 29.67 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.854e-05/0.338, allocations: 35.67 kB / 0.5722 GB, free: 29.64 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.679e-05/0.3381, allocations: 30.89 kB / 0.5723 GB, free: 29.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.53e-05/0.3382, allocations: 314 kB / 0.5726 GB, free: 29.31 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000415/0.3386, allocations: 97.33 kB / 0.5727 GB, free: 29.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004039/0.339, allocations: 96.36 kB / 0.5728 GB, free: 29.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00078/0.3398, allocations: 192 kB / 0.5729 GB, free: 29.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.3398, allocations: 4.688 kB / 0.5729 GB, free: 29.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008895/0.3407, allocations: 246.6 kB / 0.5732 GB, free: 29.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.3407, allocations: 4 kB / 0.5732 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.3407, allocations: 1.812 kB / 0.5732 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.3407, allocations: 3.281 kB / 0.5732 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003039/0.341, allocations: 55.61 kB / 0.5732 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.3411, allocations: 0 / 0.5732 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/0.3413, allocations: 37.05 kB / 0.5733 GB, free: 29.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.3413, allocations: 4.984 kB / 0.5733 GB, free: 29.19 MB / 446.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 6.179e-05/0.3414, allocations: 116.8 kB / 0.5734 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.605e-05/0.3414, allocations: 11.88 kB / 0.5734 GB, free: 29.06 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.714e-05/0.3415, allocations: 10.69 kB / 0.5734 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.3415, allocations: 1.125 kB / 0.5734 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3415, allocations: 0 / 0.5734 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.3415, allocations: 1.766 kB / 0.5734 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00153/0.343, allocations: 0.5996 MB / 0.574 GB, free: 28.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.343, allocations: 1.719 kB / 0.574 GB, free: 28.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002544/0.3433, allocations: 61.77 kB / 0.5741 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.3433, allocations: 5.062 kB / 0.5741 GB, free: 28.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.3433, allocations: 4.875 kB / 0.5741 GB, free: 28.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.3433, allocations: 2.031 kB / 0.5741 GB, free: 28.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3433, allocations: 6.016 kB / 0.5741 GB, free: 28.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009021/0.3442, allocations: 350.3 kB / 0.5744 GB, free: 28.47 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.152e-05/0.3443, allocations: 84.81 kB / 0.5745 GB, free: 28.37 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.572e-05/0.3443, allocations: 1.828 kB / 0.5745 GB, free: 28.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002701/0.3446, allocations: 40.2 kB / 0.5745 GB, free: 28.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.064e-05/0.3446, allocations: 16.55 kB / 0.5745 GB, free: 28.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.3447, allocations: 5.734 kB / 0.5746 GB, free: 28.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.403e-05/0.3447, allocations: 90.56 kB / 0.5746 GB, free: 28.28 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3447, allocations: 0 / 0.5746 GB, free: 28.28 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003361/0.3451, allocations: 45.34 kB / 0.5747 GB, free: 28.26 MB / 446.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.001335/0.3464, allocations: 0.8929 MB / 0.5756 GB, free: 27.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009669/0.3474, allocations: 215.8 kB / 0.5758 GB, free: 27.51 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3474, allocations: 0 / 0.5758 GB, free: 27.51 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004673/0.3479, allocations: 104.4 kB / 0.5759 GB, free: 27.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.3481, allocations: 20.77 kB / 0.5759 GB, free: 27.49 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004306/0.3524, allocations: 2.119 MB / 0.5779 GB, free: 26.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.849e-05/0.3526, allocations: 0.69 MB / 0.5786 GB, free: 25.39 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001049/0.3527, allocations: 22.55 kB / 0.5786 GB, free: 25.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.945e-05/0.3528, allocations: 29.31 kB / 0.5787 GB, free: 25.37 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3528, allocations: 3.938 kB / 0.5787 GB, free: 25.37 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01759/0.3704, allocations: 2.696 MB / 0.5813 GB, free: 24.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.244/7.614, allocations: 9.828 kB / 0.5813 GB, free: 24.18 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)