Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001911/0.001911, allocations: 116.8 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0018/0.0018, allocations: 209.6 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.637/1.637, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.03/3.03, allocations: 0.49 GB / 0.7923 GB, free: 1.293 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 75.89 kB / 1.15 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.105/1.107, allocations: 176.1 MB / 1.322 GB, free: 24.78 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001605/1.108, allocations: 0.6361 MB / 1.322 GB, free: 24.38 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001451/1.11, allocations: 1.521 MB / 1.324 GB, free: 23.27 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.641e-05/1.11, allocations: 0 / 1.324 GB, free: 23.27 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.329e-05/1.11, allocations: 0 / 1.324 GB, free: 23.27 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.469e-05/1.11, allocations: 9.969 kB / 1.324 GB, free: 23.26 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003752/1.11, allocations: 122.2 kB / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.119e-05/1.11, allocations: 24.98 kB / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.58e-05/1.11, allocations: 3.938 kB / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.471e-05/1.11, allocations: 23.39 kB / 1.324 GB, free: 23.18 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.858e-05/1.11, allocations: 23.67 kB / 1.324 GB, free: 23.17 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/1.11, allocations: 2.688 kB / 1.324 GB, free: 23.17 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003584/1.111, allocations: 314.5 kB / 1.324 GB, free: 23.09 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.243e-05/1.111, allocations: 3.328 kB / 1.324 GB, free: 23.09 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.076e-05/1.111, allocations: 14.53 kB / 1.324 GB, free: 23.07 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002275/1.111, allocations: 201.5 kB / 1.324 GB, free: 23.01 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/1.111, allocations: 0 / 1.324 GB, free: 23.01 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.483e-06/1.111, allocations: 0 / 1.324 GB, free: 23.01 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.007e-05/1.111, allocations: 0 / 1.324 GB, free: 23.01 MB / 1.061 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.0004616/1.112, allocations: 386.1 kB / 1.325 GB, free: 22.62 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/1.112, allocations: 12.08 kB / 1.325 GB, free: 22.61 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.532e-05/1.112, allocations: 6.969 kB / 1.325 GB, free: 22.61 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.128e-05/1.112, allocations: 33.75 kB / 1.325 GB, free: 22.57 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000371/1.112, allocations: 56.75 kB / 1.325 GB, free: 22.57 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/1.112, allocations: 176.6 kB / 1.325 GB, free: 22.36 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/1.112, allocations: 2.906 kB / 1.325 GB, free: 22.36 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/1.112, allocations: 3 kB / 1.325 GB, free: 22.36 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002642/1.112, allocations: 74.25 kB / 1.325 GB, free: 22.32 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/1.112, allocations: 0 / 1.325 GB, free: 22.32 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/1.112, allocations: 7.422 kB / 1.325 GB, free: 22.32 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/1.112, allocations: 0 / 1.325 GB, free: 22.32 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000348/1.113, allocations: 73.44 kB / 1.325 GB, free: 22.3 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001528/1.113, allocations: 165.4 kB / 1.325 GB, free: 22.11 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005354/1.114, allocations: 121.8 kB / 1.325 GB, free: 22.07 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001752/1.114, allocations: 44.16 kB / 1.325 GB, free: 22.06 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/1.114, allocations: 7.875 kB / 1.325 GB, free: 22.05 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/1.114, allocations: 30.56 kB / 1.325 GB, free: 22.01 MB / 1.061 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/1.114, allocations: 6.812 kB / 1.325 GB, free: 22.01 MB / 1.061 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.004044/1.118, allocations: 0.7889 MB / 1.326 GB, free: 21.87 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/1.118, allocations: 60.47 kB / 1.326 GB, free: 21.8 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.532e-05/1.118, allocations: 109.7 kB / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/1.118, allocations: 26.52 kB / 1.326 GB, free: 21.66 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.085e-05/1.118, allocations: 88.77 kB / 1.327 GB, free: 21.58 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.092e-05/1.118, allocations: 27.38 kB / 1.327 GB, free: 21.55 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.747e-05/1.118, allocations: 28.28 kB / 1.327 GB, free: 21.54 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.72e-05/1.118, allocations: 316.4 kB / 1.327 GB, free: 21.22 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004468/1.119, allocations: 99.92 kB / 1.327 GB, free: 21.2 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004525/1.119, allocations: 101.6 kB / 1.327 GB, free: 21.19 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009004/1.12, allocations: 195 kB / 1.327 GB, free: 21.15 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/1.12, allocations: 4 kB / 1.327 GB, free: 21.14 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000997/1.121, allocations: 244.2 kB / 1.328 GB, free: 21.07 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/1.121, allocations: 4.625 kB / 1.328 GB, free: 21.07 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/1.121, allocations: 1.219 kB / 1.328 GB, free: 21.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/1.121, allocations: 3.938 kB / 1.328 GB, free: 21.07 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003379/1.121, allocations: 55.91 kB / 1.328 GB, free: 21.07 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/1.121, allocations: 1.031 kB / 1.328 GB, free: 21.07 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002286/1.121, allocations: 42.39 kB / 1.328 GB, free: 21.06 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/1.122, allocations: 3.562 kB / 1.328 GB, free: 21.06 MB / 1.061 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 6.753e-05/1.122, allocations: 121.7 kB / 1.328 GB, free: 20.93 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.301e-05/1.122, allocations: 3.281 kB / 1.328 GB, free: 20.93 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.133e-05/1.122, allocations: 13.23 kB / 1.328 GB, free: 20.92 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/1.122, allocations: 0.6562 kB / 1.328 GB, free: 20.92 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/1.122, allocations: 0.9688 kB / 1.328 GB, free: 20.92 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/1.122, allocations: 0 / 1.328 GB, free: 20.92 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001649/1.123, allocations: 0.5987 MB / 1.328 GB, free: 20.55 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/1.123, allocations: 0 / 1.328 GB, free: 20.55 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002896/1.124, allocations: 58.59 kB / 1.328 GB, free: 20.54 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/1.124, allocations: 2.094 kB / 1.328 GB, free: 20.54 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/1.124, allocations: 7.953 kB / 1.328 GB, free: 20.54 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/1.124, allocations: 1.125 kB / 1.328 GB, free: 20.54 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/1.124, allocations: 9.531 kB / 1.328 GB, free: 20.53 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/1.125, allocations: 338.9 kB / 1.329 GB, free: 20.35 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.668e-05/1.125, allocations: 87.84 kB / 1.329 GB, free: 20.25 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/1.125, allocations: 2.781 kB / 1.329 GB, free: 20.25 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002829/1.125, allocations: 36.86 kB / 1.329 GB, free: 20.24 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.359e-05/1.125, allocations: 11.94 kB / 1.329 GB, free: 20.24 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/1.125, allocations: 9.75 kB / 1.329 GB, free: 20.23 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.322e-05/1.125, allocations: 90.39 kB / 1.329 GB, free: 20.16 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.125, allocations: 4 kB / 1.329 GB, free: 20.15 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003235/1.125, allocations: 37.17 kB / 1.329 GB, free: 20.14 MB / 1.061 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.001498/1.127, allocations: 0.9021 MB / 1.33 GB, free: 19.42 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001093/1.128, allocations: 209.1 kB / 1.33 GB, free: 19.39 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.128, allocations: 0 / 1.33 GB, free: 19.39 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005023/1.129, allocations: 107.9 kB / 1.33 GB, free: 19.38 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/1.129, allocations: 10.28 kB / 1.33 GB, free: 19.37 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004828/1.134, allocations: 2.136 MB / 1.332 GB, free: 17.96 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001471/1.134, allocations: 0.6853 MB / 1.333 GB, free: 17.27 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001031/1.134, allocations: 24.16 kB / 1.333 GB, free: 17.26 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/1.134, allocations: 31.58 kB / 1.333 GB, free: 17.24 MB / 1.061 GB Notification: Performance of SimCode: time 9.22e-07/1.134, allocations: 0 / 1.333 GB, free: 17.24 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0226/1.157, allocations: 2.797 MB / 1.336 GB, free: 16.78 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.513/9.669, allocations: 9.156 kB / 1.336 GB, free: 16.78 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.497925069008488] Failed to read output from testmodel.py, exit status != 0: 9.796370372991078 9.812929248 8.698953412 Calling exit ...