Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 111.3 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002047/0.002047, allocations: 190.8 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 225.6 MB / 249.4 MB, free: 3.27 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.969/2.969, allocations: 476.7 MB / 0.7629 GB, free: 15.27 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Examples.InverseXRegularized,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002163/0.002163, allocations: 67.89 kB / 1.107 GB, free: 5.109 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.162/1.164, allocations: 168.7 MB / 1.272 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.00272/1.167, allocations: 1.476 MB / 1.273 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001326/1.168, allocations: 0.8011 MB / 1.274 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.922e-05/1.168, allocations: 0.6562 kB / 1.274 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.425e-05/1.168, allocations: 5.484 kB / 1.274 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.436e-05/1.169, allocations: 4.812 kB / 1.274 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005168/1.169, allocations: 129.7 kB / 1.274 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.126e-05/1.169, allocations: 35.92 kB / 1.274 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/1.169, allocations: 3.234 kB / 1.274 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.408e-05/1.169, allocations: 19.08 kB / 1.274 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.349e-05/1.169, allocations: 16.67 kB / 1.274 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/1.169, allocations: 3.938 kB / 1.274 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005088/1.17, allocations: 315.4 kB / 1.274 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.513e-05/1.17, allocations: 13.7 kB / 1.274 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.12e-05/1.17, allocations: 15.52 kB / 1.274 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003465/1.17, allocations: 202.2 kB / 1.274 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/1.17, allocations: 0 / 1.274 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.593e-06/1.17, allocations: 0 / 1.274 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.711e-06/1.17, allocations: 1.062 kB / 1.274 GB, free: 5.926 MB / 0.9981 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.0004867/1.171, allocations: 375.6 kB / 1.275 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/1.171, allocations: 10.75 kB / 1.275 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.689e-05/1.171, allocations: 31.56 kB / 1.275 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004825/1.171, allocations: 74.19 kB / 1.275 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.321e-05/1.171, allocations: 167.6 kB / 1.275 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/1.171, allocations: 5.438 kB / 1.275 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/1.171, allocations: 5.188 kB / 1.275 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002917/1.172, allocations: 83.39 kB / 1.275 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/1.172, allocations: 4 kB / 1.275 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/1.172, allocations: 0 / 1.275 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/1.172, allocations: 0.6562 kB / 1.275 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004241/1.172, allocations: 96.95 kB / 1.275 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004488/1.173, allocations: 295.3 kB / 1.276 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003675/1.173, allocations: 97.08 kB / 1.276 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002095/1.173, allocations: 51.81 kB / 1.276 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/1.173, allocations: 0.5938 kB / 1.276 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/1.173, allocations: 31.31 kB / 1.276 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/1.173, allocations: 4.625 kB / 1.276 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0007219/1.174, allocations: 168.5 kB / 1.276 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.174e-05/1.174, allocations: 51.41 kB / 1.276 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.161e-05/1.174, allocations: 105.5 kB / 1.276 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/1.174, allocations: 25.7 kB / 1.276 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.008e-05/1.174, allocations: 81.92 kB / 1.276 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.278e-05/1.174, allocations: 13.11 kB / 1.276 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.733e-05/1.174, allocations: 12.44 kB / 1.276 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.74e-05/1.174, allocations: 318.2 kB / 1.276 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/1.174, allocations: 45.27 kB / 1.277 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/1.175, allocations: 46.8 kB / 1.277 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000404/1.175, allocations: 95.28 kB / 1.277 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/1.175, allocations: 3.938 kB / 1.277 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000434/1.175, allocations: 122.3 kB / 1.277 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/1.175, allocations: 7.438 kB / 1.277 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/1.175, allocations: 0.6562 kB / 1.277 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/1.175, allocations: 4.625 kB / 1.277 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/1.176, allocations: 20.48 kB / 1.277 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/1.176, allocations: 1.188 kB / 1.277 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/1.176, allocations: 16.44 kB / 1.277 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/1.176, allocations: 0.875 kB / 1.277 GB, free: 4.07 MB / 0.9981 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 5.6e-05/1.176, allocations: 121.2 kB / 1.277 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.792e-05/1.176, allocations: 5.203 kB / 1.277 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.13e-05/1.176, allocations: 5 kB / 1.277 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/1.176, allocations: 0 / 1.277 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.176, allocations: 1.516 kB / 1.277 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/1.176, allocations: 0 / 1.277 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/1.176, allocations: 181.7 kB / 1.277 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/1.176, allocations: 256 / 1.277 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000135/1.176, allocations: 29.78 kB / 1.277 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/1.176, allocations: 0 / 1.277 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/1.176, allocations: 5.125 kB / 1.277 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/1.176, allocations: 0 / 1.277 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/1.176, allocations: 2.781 kB / 1.277 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004573/1.177, allocations: 216.2 kB / 1.277 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.065e-05/1.177, allocations: 79.86 kB / 1.277 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/1.177, allocations: 0.875 kB / 1.277 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/1.177, allocations: 20.84 kB / 1.277 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.961e-05/1.177, allocations: 6.766 kB / 1.277 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-06/1.177, allocations: 2.328 kB / 1.277 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.623e-05/1.177, allocations: 80.27 kB / 1.278 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.177, allocations: 0 / 1.278 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002564/1.177, allocations: 22 kB / 1.278 GB, free: 3.387 MB / 0.9981 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.0007076/1.178, allocations: 0.7694 MB / 1.278 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004811/1.178, allocations: 91.92 kB / 1.278 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.178, allocations: 0 / 1.278 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002187/1.179, allocations: 62.02 kB / 1.278 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/1.179, allocations: 3.984 kB / 1.278 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000741/1.18, allocations: 206.1 kB / 1.279 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/1.18, allocations: 0.6771 MB / 1.279 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.376e-05/1.18, allocations: 7.594 kB / 1.279 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.595e-05/1.18, allocations: 13.59 kB / 1.279 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of SimCode: time 3.71e-07/1.18, allocations: 0 / 1.279 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02466/1.205, allocations: 1.669 MB / 1.281 GB, free: 17.41 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.953/9.157, allocations: 11.89 kB / 1.281 GB, free: 17.41 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Utilities_Math_Examples_InverseXRegularized.fmu > Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.537128874013433] Failed to read output from testmodel.py, exit status != 0: 9.227671094995458 9.244432645 8.07032494 Calling exit ...