Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.001668/0.001668, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001553/0.001553, allocations: 220.2 kB / 23.03 MB, free: 4.941 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002641/0.002641, allocations: 286.8 kB / 313.5 MB, free: 2.598 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.273/1.273, allocations: 180.6 MB / 0.5377 GB, free: 14.54 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_InverseXRegularized",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_InverseXRegularized",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002814/0.002814, allocations: 108.2 kB / 0.7403 GB, free: 28.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.1879, allocations: 95.38 MB / 0.8334 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.InverseXRegularized): time 0.002956/0.1908, allocations: 1.469 MB / 0.8348 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001386/0.1922, allocations: 0.7463 MB / 0.8356 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.68e-05/0.1922, allocations: 0 / 0.8356 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.751e-05/0.1923, allocations: 0 / 0.8356 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.278e-05/0.1923, allocations: 7.938 kB / 0.8356 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005724/0.1929, allocations: 131.5 kB / 0.8357 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.965e-05/0.193, allocations: 35.91 kB / 0.8357 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.1931, allocations: 8 kB / 0.8357 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.598e-05/0.1932, allocations: 19.91 kB / 0.8358 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.137e-05/0.1933, allocations: 15.98 kB / 0.8358 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.1933, allocations: 4 kB / 0.8358 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004803/0.1938, allocations: 255.5 kB / 0.836 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.755e-05/0.1938, allocations: 23.91 kB / 0.836 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.991e-05/0.1938, allocations: 4 kB / 0.8361 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000407/0.1942, allocations: 187.8 kB / 0.8362 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.1942, allocations: 0 / 0.8362 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.354e-06/0.1942, allocations: 4 kB / 0.8362 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.1942, allocations: 3.938 kB / 0.8362 GB, free: 5.383 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0007082/0.1949, allocations: 297.9 kB / 0.8365 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/0.195, allocations: 13.28 kB / 0.8365 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.501e-05/0.195, allocations: 4.188 kB / 0.8365 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.6e-05/0.1951, allocations: 34.75 kB / 0.8366 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005346/0.1956, allocations: 72.8 kB / 0.8366 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.1957, allocations: 110.5 kB / 0.8367 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/0.1958, allocations: 384 / 0.8367 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.1958, allocations: 8.359 kB / 0.8368 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003615/0.1962, allocations: 85.56 kB / 0.8368 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.1962, allocations: 0 / 0.8368 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.1962, allocations: 4 kB / 0.8368 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1962, allocations: 0 / 0.8368 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004275/0.1966, allocations: 91.89 kB / 0.8369 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006139/0.1972, allocations: 259.9 kB / 0.8372 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003925/0.1976, allocations: 102.4 kB / 0.8373 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002228/0.1978, allocations: 48.88 kB / 0.8373 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.1978, allocations: 0 / 0.8373 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.1979, allocations: 34.56 kB / 0.8374 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.1979, allocations: 0 / 0.8374 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0007312/0.1986, allocations: 165.5 kB / 0.8375 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.1987, allocations: 59.47 kB / 0.8376 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.692e-05/0.1987, allocations: 105.8 kB / 0.8377 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.1988, allocations: 25.7 kB / 0.8377 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.347e-05/0.1988, allocations: 84.14 kB / 0.8378 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.445e-05/0.1989, allocations: 7.953 kB / 0.8378 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.778e-05/0.1989, allocations: 13.72 kB / 0.8378 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.1991, allocations: 318.8 kB / 0.8381 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002105/0.1993, allocations: 55.89 kB / 0.8382 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.1995, allocations: 39.95 kB / 0.8382 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003734/0.1998, allocations: 88.83 kB / 0.8383 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.1998, allocations: 0 / 0.8383 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004584/0.2003, allocations: 125.5 kB / 0.8384 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.2003, allocations: 8.031 kB / 0.8384 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.2003, allocations: 4 kB / 0.8384 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.2003, allocations: 0 / 0.8384 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.2005, allocations: 19.97 kB / 0.8384 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.2005, allocations: 0 / 0.8384 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.2006, allocations: 19.92 kB / 0.8384 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.2006, allocations: 7.984 kB / 0.8385 GB, free: 2.922 MB / 0.5762 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 (2): * Single equations (assignments): 2 * 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 9.437e-05/0.2007, allocations: 118.4 kB / 0.8386 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.87e-05/0.2008, allocations: 3.953 kB / 0.8386 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.326e-05/0.2008, allocations: 3.312 kB / 0.8386 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.2008, allocations: 0 / 0.8386 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2008, allocations: 3.938 kB / 0.8386 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.2008, allocations: 4 kB / 0.8386 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001749/0.201, allocations: 136.7 kB / 0.8387 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.201, allocations: 0 / 0.8387 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001391/0.2011, allocations: 23.97 kB / 0.8387 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2011, allocations: 0 / 0.8387 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.2011, allocations: 4 kB / 0.8387 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.2011, allocations: 0 / 0.8387 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.2011, allocations: 3.984 kB / 0.8387 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004997/0.2016, allocations: 219.3 kB / 0.8389 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.829e-06/0.2016, allocations: 3.984 kB / 0.839 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.2017, allocations: 4 kB / 0.839 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.2018, allocations: 16.27 kB / 0.839 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/0.2019, allocations: 7.984 kB / 0.839 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.2019, allocations: 4 kB / 0.839 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.99e-05/0.2019, allocations: 83.28 kB / 0.8391 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2019, allocations: 0 / 0.8391 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002518/0.2022, allocations: 12 kB / 0.8391 GB, free: 2.211 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0009114/0.2031, allocations: 0.7668 MB / 0.8398 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004704/0.2035, allocations: 91.94 kB / 0.8399 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2035, allocations: 0 / 0.8399 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002327/0.2038, allocations: 52 kB / 0.84 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.2041, allocations: 12.92 kB / 0.84 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007566/0.2049, allocations: 199.2 kB / 0.8402 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.859e-05/0.2049, allocations: 59.34 kB / 0.8402 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.853e-05/0.205, allocations: 11.98 kB / 0.8402 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.696e-05/0.205, allocations: 19.42 kB / 0.8402 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.205, allocations: 0 / 0.8402 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02192/0.227, allocations: 1.912 MB / 0.8421 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.23, allocations: 13.64 kB / 0.8421 GB, free: 15.16 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_InverseXRegularized.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.577937271911651] Failed to read output from testmodel.py, exit status != 0: 11.39064141002018 11.40855214 11.211202021 Calling exit ...