Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.654/1.654, allocations: 288.4 MB / 303.3 MB, free: 8.262 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.0009998/0.0009998, allocations: 180.5 kB / 372 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.438/1.438, allocations: 205.4 MB / 0.6307 GB, free: 10.02 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.0007119/0.0007117, allocations: 90.36 kB / 0.7441 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003585/0.0003586, allocations: 13.09 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2124, allocations: 115.3 MB / 0.9797 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0007561/0.2132, allocations: 355.8 kB / 0.98 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00155/0.2148, allocations: 1.429 MB / 0.9814 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.933e-05/0.2148, allocations: 0 / 0.9814 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.319e-05/0.2148, allocations: 3.938 kB / 0.9814 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.705e-05/0.2149, allocations: 4 kB / 0.9814 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003943/0.2153, allocations: 95.69 kB / 0.9815 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.324e-05/0.2154, allocations: 23.92 kB / 0.9815 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.232e-05/0.2155, allocations: 0 / 0.9815 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.499e-05/0.2155, allocations: 19.92 kB / 0.9815 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.439e-05/0.2156, allocations: 15.91 kB / 0.9816 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.2156, allocations: 4 kB / 0.9816 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003981/0.216, allocations: 307.4 kB / 0.9818 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.548e-05/0.216, allocations: 11.91 kB / 0.9819 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.989e-05/0.2161, allocations: 25.7 kB / 0.9819 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.2163, allocations: 132 kB / 0.982 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.2163, allocations: 0 / 0.982 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2163, allocations: 0 / 0.982 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.2163, allocations: 8 kB / 0.982 GB, free: 25.13 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.0004896/0.2168, allocations: 367.2 kB / 0.9824 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.961e-05/0.2169, allocations: 12.02 kB / 0.9824 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.232e-05/0.2169, allocations: 38.55 kB / 0.9824 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003815/0.2173, allocations: 71.84 kB / 0.9825 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.2174, allocations: 182.9 kB / 0.9827 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.2175, allocations: 3.938 kB / 0.9827 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.2175, allocations: 4 kB / 0.9827 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002543/0.2178, allocations: 77.64 kB / 0.9827 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.2178, allocations: 4 kB / 0.9827 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.2178, allocations: 0 / 0.9827 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.2178, allocations: 4 kB / 0.9827 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003497/0.2182, allocations: 83.91 kB / 0.9828 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001432/0.2183, allocations: 165.7 kB / 0.983 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005037/0.2188, allocations: 158.4 kB / 0.9831 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.219, allocations: 48.95 kB / 0.9832 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.219, allocations: 0 / 0.9832 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.635e-05/0.2191, allocations: 34.55 kB / 0.9832 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.2191, allocations: 0 / 0.9832 GB, free: 23.73 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.004036/0.2231, allocations: 0.9643 MB / 0.9842 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/0.2232, allocations: 51.41 kB / 0.9842 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.951e-05/0.2232, allocations: 117.8 kB / 0.9843 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.2233, allocations: 29.7 kB / 0.9843 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.231e-05/0.2233, allocations: 84.14 kB / 0.9844 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/0.2233, allocations: 31.55 kB / 0.9845 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.003e-05/0.2233, allocations: 4 kB / 0.9845 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.229e-05/0.2234, allocations: 310.8 kB / 0.9848 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004041/0.2238, allocations: 123.8 kB / 0.9849 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003868/0.2242, allocations: 123.9 kB / 0.985 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003869/0.2246, allocations: 111.9 kB / 0.9851 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.2246, allocations: 288 / 0.9851 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008574/0.2255, allocations: 281.4 kB / 0.9854 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.2255, allocations: 4 kB / 0.9854 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2255, allocations: 0 / 0.9854 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.2255, allocations: 8 kB / 0.9854 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003092/0.2258, allocations: 63.88 kB / 0.9854 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.2259, allocations: 4 kB / 0.9854 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002305/0.2261, allocations: 47.95 kB / 0.9855 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/0.2261, allocations: 11.94 kB / 0.9855 GB, free: 21.33 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 7.095e-05/0.2262, allocations: 109.8 kB / 0.9856 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.068e-05/0.2262, allocations: 11.91 kB / 0.9856 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.776e-05/0.2263, allocations: 8.375 kB / 0.9856 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.2263, allocations: 0 / 0.9856 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.2263, allocations: 3.984 kB / 0.9856 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.2263, allocations: 0 / 0.9856 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001583/0.2279, allocations: 0.656 MB / 0.9863 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.2279, allocations: 7.938 kB / 0.9863 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002602/0.2282, allocations: 64 kB / 0.9863 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.2282, allocations: 0 / 0.9863 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.2282, allocations: 15.94 kB / 0.9864 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.2282, allocations: 0 / 0.9864 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2282, allocations: 0 / 0.9864 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000893/0.2291, allocations: 377 kB / 0.9867 GB, free: 20 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.392e-05/0.2292, allocations: 81.02 kB / 0.9868 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.2292, allocations: 11.98 kB / 0.9868 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002539/0.2295, allocations: 44.67 kB / 0.9868 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.314e-05/0.2295, allocations: 19.97 kB / 0.9869 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.2295, allocations: 4 kB / 0.9869 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.501e-05/0.2296, allocations: 95.25 kB / 0.987 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.62e-07/0.2296, allocations: 0 / 0.987 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002757/0.2298, allocations: 35.94 kB / 0.987 GB, free: 19.7 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.001179/0.231, allocations: 0.9405 MB / 0.9879 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008638/0.2319, allocations: 255.8 kB / 0.9882 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2319, allocations: 3.938 kB / 0.9882 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004221/0.2324, allocations: 128 kB / 0.9883 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.2326, allocations: 12.64 kB / 0.9883 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003041/0.2356, allocations: 1.144 MB / 0.9894 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/0.2358, allocations: 0.6888 MB / 0.9901 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001191/0.2359, allocations: 25.5 kB / 0.9901 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.963e-05/0.236, allocations: 27.42 kB / 0.9901 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of SimCode: time 3.91e-07/0.236, allocations: 0 / 0.9901 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01262/0.2486, allocations: 2.45 MB / 0.9925 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001401/0.2488, allocations: 214 kB / 0.9927 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.566/1.815, allocations: 4 kB / 0.9927 GB, free: 13.83 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)