Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_8_Buildings_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.00148/0.001485, allocations: 109.4 kB / 15.69 MB, free: 128 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.001648/0.001648, allocations: 186.7 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 205.1 MB / 222.5 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.703/1.703, allocations: 292.3 MB / 0.549 GB, free: 12.73 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 64.09 kB / 0.6718 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2275, allocations: 114.5 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001989/0.2295, allocations: 0.6347 MB / 0.7843 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001738/0.2313, allocations: 1.49 MB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.701e-05/0.2313, allocations: 0 / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.625e-05/0.2314, allocations: 7.938 kB / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.2e-05/0.2314, allocations: 0 / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003897/0.2318, allocations: 123.5 kB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.889e-05/0.2319, allocations: 23.92 kB / 0.7859 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.176e-05/0.2319, allocations: 3.984 kB / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.439e-05/0.232, allocations: 19.92 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.478e-05/0.2321, allocations: 23.84 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.2321, allocations: 4 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004147/0.2325, allocations: 311.4 kB / 0.7862 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.506e-05/0.2325, allocations: 11.97 kB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.583e-05/0.2326, allocations: 11.88 kB / 0.7862 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002628/0.2328, allocations: 191.8 kB / 0.7864 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2328, allocations: 0 / 0.7864 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2328, allocations: 0 / 0.7864 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.2329, allocations: 0 / 0.7864 GB, free: 10.37 MB / 0.6075 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.0004858/0.2333, allocations: 383.3 kB / 0.7868 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.2334, allocations: 8.031 kB / 0.7868 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.739e-05/0.2334, allocations: 38.75 kB / 0.7868 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003545/0.2338, allocations: 56.86 kB / 0.7869 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.2339, allocations: 172.3 kB / 0.787 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.234, allocations: 4.375 kB / 0.787 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.234, allocations: 8.375 kB / 0.7871 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002512/0.2342, allocations: 77.77 kB / 0.7871 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.2343, allocations: 3.938 kB / 0.7871 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.2343, allocations: 0 / 0.7871 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.2343, allocations: 0 / 0.7871 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003422/0.2346, allocations: 71.92 kB / 0.7872 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001932/0.2348, allocations: 165.7 kB / 0.7874 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005342/0.2354, allocations: 130.5 kB / 0.7875 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001753/0.2356, allocations: 44.95 kB / 0.7875 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/0.2356, allocations: 0 / 0.7875 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.2356, allocations: 38.44 kB / 0.7876 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 8.32e-07/0.2356, allocations: 0 / 0.7876 GB, free: 9.023 MB / 0.6075 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.003874/0.2395, allocations: 0.7934 MB / 0.7883 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.2395, allocations: 51.41 kB / 0.7884 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.434e-05/0.2396, allocations: 121.8 kB / 0.7885 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.2397, allocations: 25.7 kB / 0.7885 GB, free: 8 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.402e-05/0.2397, allocations: 88.14 kB / 0.7886 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.004e-05/0.2397, allocations: 35.48 kB / 0.7886 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.598e-05/0.2398, allocations: 29.7 kB / 0.7887 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.737e-05/0.2399, allocations: 310.8 kB / 0.789 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004047/0.2403, allocations: 99.89 kB / 0.7891 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004007/0.2407, allocations: 95.89 kB / 0.7892 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000776/0.2415, allocations: 192.7 kB / 0.7893 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.2415, allocations: 3.938 kB / 0.7893 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008696/0.2424, allocations: 241.3 kB / 0.7896 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.2424, allocations: 8 kB / 0.7896 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2425, allocations: 0 / 0.7896 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.2425, allocations: 384 / 0.7896 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002919/0.2428, allocations: 55.94 kB / 0.7896 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.2428, allocations: 3.938 kB / 0.7896 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002057/0.243, allocations: 36.7 kB / 0.7897 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.243, allocations: 7.938 kB / 0.7897 GB, free: 6.789 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.754e-05/0.2431, allocations: 122.4 kB / 0.7898 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.92e-05/0.2431, allocations: 3.906 kB / 0.7898 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.563e-05/0.2432, allocations: 16.38 kB / 0.7898 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.2432, allocations: 4 kB / 0.7898 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.2432, allocations: 0 / 0.7898 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.2432, allocations: 0 / 0.7898 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001611/0.2448, allocations: 0.5936 MB / 0.7904 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2448, allocations: 4 kB / 0.7904 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002544/0.2451, allocations: 55.86 kB / 0.7905 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.2451, allocations: 4 kB / 0.7905 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.2451, allocations: 3.984 kB / 0.7905 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.2452, allocations: 8.062 kB / 0.7905 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.2452, allocations: 3.938 kB / 0.7905 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009333/0.2461, allocations: 344.9 kB / 0.7908 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.726e-05/0.2462, allocations: 81.02 kB / 0.7909 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.2462, allocations: 7.938 kB / 0.7909 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002404/0.2464, allocations: 35.95 kB / 0.7909 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.2465, allocations: 15.92 kB / 0.7909 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.2465, allocations: 4 kB / 0.7909 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.121e-05/0.2466, allocations: 91.27 kB / 0.791 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2466, allocations: 0 / 0.791 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003029/0.2469, allocations: 40 kB / 0.7911 GB, free: 5.254 MB / 0.6075 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 (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.001354/0.2482, allocations: 0.8974 MB / 0.7919 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009049/0.2492, allocations: 207.9 kB / 0.7921 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2492, allocations: 192 / 0.7921 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004244/0.2496, allocations: 104 kB / 0.7922 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.2499, allocations: 15.88 kB / 0.7923 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004424/0.2543, allocations: 2.133 MB / 0.7943 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/0.2546, allocations: 0.6885 MB / 0.795 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001099/0.2547, allocations: 20.66 kB / 0.795 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.16e-05/0.2548, allocations: 27.42 kB / 0.7951 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of SimCode: time 4.11e-07/0.2548, allocations: 0 / 0.7951 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01959/0.2744, allocations: 2.721 MB / 0.7977 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.985/7.26, allocations: 4.062 kB / 0.7977 GB, free: 14.41 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)