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.596/2.596, allocations: 287.3 MB / 302.3 MB, free: 8.383 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.002331/0.002331, allocations: 180.7 kB / 370.8 MB, free: 10.86 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.243/2.243, allocations: 205.4 MB / 0.6295 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.001394/0.001394, allocations: 104.1 kB / 0.7428 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000746/0.0007463, allocations: 17.12 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2402, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.000783/0.241, allocations: 359.5 kB / 0.9786 GB, free: 27.92 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002106/0.2432, allocations: 1.434 MB / 0.98 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.62e-05/0.2433, allocations: 0 / 0.98 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.722e-05/0.2433, allocations: 3.938 kB / 0.98 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.158e-05/0.2434, allocations: 0 / 0.98 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005297/0.2439, allocations: 95.67 kB / 0.9801 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.557e-05/0.244, allocations: 15.98 kB / 0.9801 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.206e-05/0.2441, allocations: 0 / 0.9801 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.069e-05/0.2441, allocations: 19.92 kB / 0.9802 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.501e-05/0.2442, allocations: 19.91 kB / 0.9802 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.2442, allocations: 4 kB / 0.9802 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005797/0.2448, allocations: 307.5 kB / 0.9805 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.522e-05/0.2448, allocations: 8 kB / 0.9805 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.179e-05/0.2449, allocations: 25.7 kB / 0.9805 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002907/0.2452, allocations: 148.1 kB / 0.9807 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2452, allocations: 0 / 0.9807 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2452, allocations: 3.938 kB / 0.9807 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.2452, allocations: 0 / 0.9807 GB, free: 25.82 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.0005099/0.2457, allocations: 371.2 kB / 0.981 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.2458, allocations: 12.02 kB / 0.981 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.138e-05/0.2458, allocations: 30.56 kB / 0.9811 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005801/0.2464, allocations: 83.78 kB / 0.9811 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.2466, allocations: 171 kB / 0.9813 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.2466, allocations: 4 kB / 0.9813 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.2466, allocations: 0 / 0.9813 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003965/0.247, allocations: 81.64 kB / 0.9814 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.2471, allocations: 3.984 kB / 0.9814 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.2471, allocations: 0 / 0.9814 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.2471, allocations: 4 kB / 0.9814 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006107/0.2477, allocations: 91.84 kB / 0.9815 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002193/0.248, allocations: 165.7 kB / 0.9816 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009158/0.2489, allocations: 146.5 kB / 0.9818 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.2489, allocations: 0 / 0.9818 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.249, allocations: 34.69 kB / 0.9818 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.413e-06/0.249, allocations: 0 / 0.9818 GB, free: 24.48 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.007374/0.2563, allocations: 0.9637 MB / 0.9827 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.2564, allocations: 55.41 kB / 0.9828 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.2565, allocations: 109.8 kB / 0.9829 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.2566, allocations: 33.7 kB / 0.9829 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.836e-05/0.2566, allocations: 88.12 kB / 0.983 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.743e-05/0.2567, allocations: 27.56 kB / 0.983 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.511e-05/0.2567, allocations: 0 / 0.983 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.983e-05/0.2568, allocations: 318.8 kB / 0.9834 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007598/0.2575, allocations: 115.9 kB / 0.9835 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007549/0.2583, allocations: 123.8 kB / 0.9836 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007477/0.2591, allocations: 111.9 kB / 0.9837 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2591, allocations: 4.281 kB / 0.9837 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001708/0.2608, allocations: 281.4 kB / 0.984 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.2609, allocations: 7.938 kB / 0.984 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.2609, allocations: 4 kB / 0.984 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.2609, allocations: 3.984 kB / 0.984 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005443/0.2615, allocations: 63.94 kB / 0.984 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.2615, allocations: 0 / 0.984 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004197/0.2619, allocations: 51.91 kB / 0.9841 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.2619, allocations: 0 / 0.9841 GB, free: 22.09 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 0.000101/0.2621, allocations: 117.8 kB / 0.9842 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.176e-05/0.2621, allocations: 7.906 kB / 0.9842 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.591e-05/0.2622, allocations: 16.36 kB / 0.9842 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.2622, allocations: 0 / 0.9842 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2622, allocations: 0 / 0.9842 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.2622, allocations: 4 kB / 0.9842 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002719/0.2649, allocations: 0.6637 MB / 0.9849 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.265, allocations: 0 / 0.9849 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004817/0.2655, allocations: 64 kB / 0.9849 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.2655, allocations: 0 / 0.9849 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.2655, allocations: 7.953 kB / 0.9849 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/0.2655, allocations: 400 / 0.9849 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.2656, allocations: 0 / 0.9849 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/0.2672, allocations: 412.4 kB / 0.9853 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.759e-05/0.2673, allocations: 85.02 kB / 0.9854 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.555e-05/0.2673, allocations: 0 / 0.9854 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004338/0.2677, allocations: 47.95 kB / 0.9855 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.174e-05/0.2678, allocations: 15.92 kB / 0.9855 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.183e-05/0.2679, allocations: 8 kB / 0.9855 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.851e-05/0.2679, allocations: 95.25 kB / 0.9856 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.21e-07/0.268, allocations: 0 / 0.9856 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000404/0.2684, allocations: 39.98 kB / 0.9856 GB, free: 20.41 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.001977/0.2704, allocations: 1.097 MB / 0.9867 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001625/0.272, allocations: 255.7 kB / 0.9869 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/0.2721, allocations: 0 / 0.9869 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007835/0.2728, allocations: 132 kB / 0.9871 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.2731, allocations: 4 kB / 0.9871 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005511/0.2786, allocations: 1.161 MB / 0.9882 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001438/0.2788, allocations: 0.6887 MB / 0.9889 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001921/0.279, allocations: 20.73 kB / 0.9889 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.2791, allocations: 27.41 kB / 0.9889 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of SimCode: time 1.263e-06/0.2791, allocations: 0 / 0.9889 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02423/0.3034, allocations: 2.43 MB / 0.9913 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002367/0.3037, allocations: 203.5 kB / 0.9915 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.527/2.83, allocations: 0 / 0.9915 GB, free: 14.39 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)