Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.691/2.691, allocations: 287.5 MB / 302.4 MB, free: 8.359 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001323/0.001323, allocations: 174.3 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.176/2.176, allocations: 205.4 MB / 0.6297 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000859/0.0008583, allocations: 82.12 kB / 0.743 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005185/0.0005186, allocations: 14.25 kB / 0.8659 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.219, allocations: 115.3 MB / 0.9785 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0007749/0.2199, allocations: 363.5 kB / 0.9788 GB, free: 27.92 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002017/0.2219, allocations: 1.414 MB / 0.9802 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.034e-05/0.222, allocations: 4 kB / 0.9802 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.072e-05/0.2221, allocations: 3.938 kB / 0.9802 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.711e-05/0.2222, allocations: 7.984 kB / 0.9802 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005646/0.2227, allocations: 100.5 kB / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.149e-05/0.2228, allocations: 23.92 kB / 0.9803 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.127e-05/0.2229, allocations: 4 kB / 0.9803 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.372e-05/0.223, allocations: 15.92 kB / 0.9803 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.011e-05/0.223, allocations: 15.92 kB / 0.9804 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.2231, allocations: 4 kB / 0.9804 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006323/0.2237, allocations: 303.4 kB / 0.9806 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.775e-05/0.2238, allocations: 15.92 kB / 0.9807 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.37e-05/0.2238, allocations: 25.7 kB / 0.9807 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002828/0.2241, allocations: 132.1 kB / 0.9808 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2241, allocations: 0 / 0.9808 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2241, allocations: 0 / 0.9808 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.2241, allocations: 0 / 0.9808 GB, free: 25.84 MB / 0.6198 GB 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.0005279/0.2247, allocations: 383.2 kB / 0.9812 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/0.2247, allocations: 12.02 kB / 0.9812 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.366e-05/0.2248, allocations: 30.56 kB / 0.9812 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005746/0.2254, allocations: 83.78 kB / 0.9813 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.2255, allocations: 167.1 kB / 0.9815 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.2255, allocations: 7.938 kB / 0.9815 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.2256, allocations: 7.984 kB / 0.9815 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003937/0.226, allocations: 73.66 kB / 0.9815 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.226, allocations: 3.984 kB / 0.9815 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.226, allocations: 4 kB / 0.9816 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.226, allocations: 0 / 0.9816 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006119/0.2267, allocations: 87.91 kB / 0.9816 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001923/0.2269, allocations: 169.7 kB / 0.9818 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009517/0.2278, allocations: 146.4 kB / 0.9819 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000311/0.2282, allocations: 48.94 kB / 0.982 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.2282, allocations: 4 kB / 0.982 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.2282, allocations: 34.56 kB / 0.982 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 2.014e-06/0.2282, allocations: 0 / 0.982 GB, free: 24.43 MB / 0.6198 GB 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.007452/0.2357, allocations: 0.9632 MB / 0.983 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.2358, allocations: 55.36 kB / 0.983 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.599e-05/0.2359, allocations: 109.8 kB / 0.9831 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.2359, allocations: 33.7 kB / 0.9832 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.635e-05/0.2359, allocations: 88.22 kB / 0.9832 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.652e-05/0.236, allocations: 27.5 kB / 0.9833 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.517e-05/0.236, allocations: 8 kB / 0.9833 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.605e-05/0.2361, allocations: 314.8 kB / 0.9836 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007607/0.2369, allocations: 119.9 kB / 0.9837 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00089/0.2378, allocations: 111.9 kB / 0.9838 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007625/0.2386, allocations: 115.9 kB / 0.9839 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2386, allocations: 4 kB / 0.9839 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001667/0.2402, allocations: 277.4 kB / 0.9842 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.2403, allocations: 11.92 kB / 0.9842 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.2403, allocations: 0 / 0.9842 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.2403, allocations: 0 / 0.9842 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005435/0.2409, allocations: 67.88 kB / 0.9842 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.2409, allocations: 4 kB / 0.9842 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000414/0.2413, allocations: 47.91 kB / 0.9843 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.516e-05/0.2414, allocations: 12 kB / 0.9843 GB, free: 22.04 MB / 0.6198 GB 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 9.741e-05/0.2415, allocations: 109.8 kB / 0.9844 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.874e-05/0.2415, allocations: 7.891 kB / 0.9844 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.459e-05/0.2416, allocations: 16.38 kB / 0.9844 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.2416, allocations: 0.75 kB / 0.9844 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.2416, allocations: 0 / 0.9844 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2416, allocations: 0 / 0.9844 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002711/0.2443, allocations: 0.6599 MB / 0.9851 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.2444, allocations: 0 / 0.9851 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004844/0.2449, allocations: 71.94 kB / 0.9851 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.101e-05/0.2449, allocations: 7.953 kB / 0.9852 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.2449, allocations: 288 / 0.9852 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.245, allocations: 4 kB / 0.9852 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.245, allocations: 0 / 0.9852 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001609/0.2466, allocations: 388.9 kB / 0.9855 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.66e-05/0.2466, allocations: 81.02 kB / 0.9856 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.295e-05/0.2467, allocations: 11.95 kB / 0.9856 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004729/0.2472, allocations: 43.95 kB / 0.9857 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.905e-05/0.2472, allocations: 11.98 kB / 0.9857 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/0.2473, allocations: 4 kB / 0.9857 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.461e-05/0.2473, allocations: 91.27 kB / 0.9858 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2473, allocations: 0 / 0.9858 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003758/0.2477, allocations: 39.98 kB / 0.9858 GB, free: 20.39 MB / 0.6198 GB 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.00194/0.2497, allocations: 0.9403 MB / 0.9867 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00161/0.2513, allocations: 251.7 kB / 0.987 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.2513, allocations: 0 / 0.987 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00078/0.2521, allocations: 128.6 kB / 0.9871 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.2524, allocations: 12.81 kB / 0.9871 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005448/0.2579, allocations: 1.148 MB / 0.9882 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001382/0.2581, allocations: 0.6861 MB / 0.9889 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001891/0.2583, allocations: 29.17 kB / 0.9889 GB, free: 17.1 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.2584, allocations: 31.42 kB / 0.9889 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of SimCode: time 1.022e-06/0.2584, allocations: 4 kB / 0.9889 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02149/0.2799, allocations: 2.435 MB / 0.9913 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002406/0.2802, allocations: 204.7 kB / 0.9915 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.519/2.799, allocations: 10.38 kB / 0.9915 GB, free: 14.54 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)