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.001303/0.001303, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00153/0.00153, allocations: 217.9 kB / 22.26 MB, free: 5.125 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.447/1.447, allocations: 230.6 MB / 256 MB, free: 7.992 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.002518/0.002518, allocations: 289.1 kB / 312.7 MB, free: 2.812 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.243/1.243, allocations: 180.6 MB / 0.5369 GB, free: 12.93 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_InverseXRegularized",fmuType="me",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.002848/0.002848, allocations: 102 kB / 0.7396 GB, free: 28.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.1986, allocations: 95.4 MB / 0.8327 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.InverseXRegularized): time 0.002905/0.2015, allocations: 1.46 MB / 0.8342 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001374/0.2029, allocations: 0.8513 MB / 0.835 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.916e-05/0.2029, allocations: 3.938 kB / 0.835 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.371e-05/0.2029, allocations: 0 / 0.835 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.227e-05/0.203, allocations: 3.938 kB / 0.835 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004485/0.2034, allocations: 139.5 kB / 0.8351 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.272e-05/0.2035, allocations: 35.92 kB / 0.8352 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.223e-05/0.2036, allocations: 0 / 0.8352 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.588e-05/0.2036, allocations: 15.98 kB / 0.8352 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.665e-05/0.2037, allocations: 23.91 kB / 0.8352 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.2037, allocations: 0 / 0.8352 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004771/0.2042, allocations: 323.4 kB / 0.8355 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.476e-05/0.2042, allocations: 4 kB / 0.8355 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.857e-05/0.2042, allocations: 19.92 kB / 0.8355 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003202/0.2046, allocations: 195.7 kB / 0.8357 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2046, allocations: 0 / 0.8357 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2046, allocations: 0 / 0.8357 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.2046, allocations: 0 / 0.8357 GB, free: 5.566 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.0005474/0.2051, allocations: 297.9 kB / 0.836 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.2052, allocations: 13.34 kB / 0.836 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.906e-05/0.2052, allocations: 34.73 kB / 0.8361 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004598/0.2057, allocations: 68.8 kB / 0.8361 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.2058, allocations: 114.5 kB / 0.8362 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.2058, allocations: 8.375 kB / 0.8362 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.2058, allocations: 384 / 0.8362 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000294/0.2061, allocations: 85.75 kB / 0.8363 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.525e-06/0.2061, allocations: 0 / 0.8363 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.2061, allocations: 4 kB / 0.8363 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.2061, allocations: 4 kB / 0.8363 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003893/0.2065, allocations: 87.91 kB / 0.8364 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000526/0.207, allocations: 271.8 kB / 0.8367 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003705/0.2074, allocations: 98.5 kB / 0.8368 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001975/0.2076, allocations: 48.88 kB / 0.8368 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.2076, allocations: 0 / 0.8368 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.2076, allocations: 30.56 kB / 0.8368 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.2076, allocations: 0 / 0.8368 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0006916/0.2083, allocations: 173.6 kB / 0.837 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.2084, allocations: 55.41 kB / 0.8371 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.531e-05/0.2085, allocations: 101.8 kB / 0.8372 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.2085, allocations: 25.7 kB / 0.8372 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.798e-05/0.2085, allocations: 88.08 kB / 0.8373 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.2085, allocations: 7.953 kB / 0.8373 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.075e-05/0.2086, allocations: 17.75 kB / 0.8373 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.2087, allocations: 322.8 kB / 0.8376 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/0.2089, allocations: 39.95 kB / 0.8376 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001859/0.2091, allocations: 47.95 kB / 0.8377 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003562/0.2095, allocations: 88.83 kB / 0.8378 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2095, allocations: 0 / 0.8378 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004212/0.2099, allocations: 125.5 kB / 0.8379 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.2099, allocations: 4 kB / 0.8379 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.2099, allocations: 0 / 0.8379 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.2099, allocations: 0 / 0.8379 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.2101, allocations: 32 kB / 0.8379 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.2101, allocations: 0 / 0.8379 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.2102, allocations: 23.84 kB / 0.8379 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.2102, allocations: 7.984 kB / 0.8379 GB, free: 3.094 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 0.0001278/0.2104, allocations: 110.4 kB / 0.8381 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.877e-05/0.2104, allocations: 7.953 kB / 0.8381 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.447e-05/0.2104, allocations: 11.31 kB / 0.8381 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.2104, allocations: 0 / 0.8381 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.2104, allocations: 0 / 0.8381 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.2104, allocations: 0 / 0.8381 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001816/0.2106, allocations: 148.6 kB / 0.8382 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.2106, allocations: 0 / 0.8382 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.2107, allocations: 23.97 kB / 0.8382 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.2107, allocations: 0 / 0.8382 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.2108, allocations: 4 kB / 0.8382 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2108, allocations: 256 / 0.8382 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2108, allocations: 0 / 0.8382 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005011/0.2113, allocations: 223.3 kB / 0.8385 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.007e-06/0.2113, allocations: 4 kB / 0.8385 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.2113, allocations: 4 kB / 0.8385 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.2114, allocations: 20 kB / 0.8385 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.2115, allocations: 4 kB / 0.8385 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.2115, allocations: 0 / 0.8385 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.793e-05/0.2115, allocations: 87.27 kB / 0.8386 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2115, allocations: 0 / 0.8386 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002321/0.2117, allocations: 12 kB / 0.8386 GB, free: 2.375 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.0008263/0.2126, allocations: 0.7591 MB / 0.8393 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004293/0.213, allocations: 99.89 kB / 0.8394 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.213, allocations: 3.938 kB / 0.8394 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001939/0.2132, allocations: 43.95 kB / 0.8395 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.2135, allocations: 13.05 kB / 0.8395 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006895/0.2142, allocations: 196.6 kB / 0.8397 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.2145, allocations: 0.6806 MB / 0.8403 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.156e-05/0.2146, allocations: 8 kB / 0.8403 GB, free: 500 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.758e-05/0.2146, allocations: 19.38 kB / 0.8404 GB, free: 480 kB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.2146, allocations: 0 / 0.8404 GB, free: 480 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02726/0.2419, allocations: 1.804 MB / 0.8421 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.26/10.5, allocations: 8.109 kB / 0.8421 GB, free: 14.8 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 14.875852085002407] Failed to read output from testmodel.py, exit status != 0: 10.609973340000579 10.637572221 10.428125088 Calling exit ...