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.000747/0.000747, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0007762/0.0007762, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8738/0.8738, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.001401/0.001401, allocations: 229.1 kB / 259.4 MB, free: 13.02 MB / 250.7 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 0.6586/0.6586, allocations: 138.4 MB / 454.3 MB, free: 29.96 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 0.6463 GB, free: 1.844 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.767e-05/1.913e-05, allocations: 9.172 kB / 0.6463 GB, free: 1.836 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.InverseXRegularized): time 0.001969/0.001988, allocations: 1.465 MB / 0.6477 GB, free: 364 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2337/0.2357, allocations: 0.7457 MB / 0.6485 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.812e-05/0.2358, allocations: 2.031 kB / 0.6485 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 3e-05/0.2358, allocations: 0.7031 kB / 0.6485 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.289e-05/0.2358, allocations: 3.781 kB / 0.6485 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004079/0.2362, allocations: 135.7 kB / 0.6486 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.547e-05/0.2363, allocations: 38.27 kB / 0.6486 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 9.51e-05/0.2364, allocations: 3.844 kB / 0.6486 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.712e-05/0.2365, allocations: 22.23 kB / 0.6487 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.721e-05/0.2365, allocations: 16.84 kB / 0.6487 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.2365, allocations: 2.281 kB / 0.6487 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003342/0.2369, allocations: 248.1 kB / 0.6489 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.662e-05/0.2369, allocations: 10.69 kB / 0.6489 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.316e-05/0.2369, allocations: 7.188 kB / 0.6489 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002645/0.2372, allocations: 211.8 kB / 0.6491 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.2372, allocations: 0.7188 kB / 0.6491 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.485e-06/0.2372, allocations: 0 / 0.6491 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.2372, allocations: 0.75 kB / 0.6491 GB, free: 55.82 MB / 0.5573 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.0003535/0.2375, allocations: 299.4 kB / 0.6494 GB, free: 55.54 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.2376, allocations: 14.39 kB / 0.6494 GB, free: 55.54 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.173e-05/0.2376, allocations: 32.5 kB / 0.6495 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002542/0.2379, allocations: 65.22 kB / 0.6495 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.078e-05/0.2379, allocations: 111.1 kB / 0.6496 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.2379, allocations: 2.375 kB / 0.6496 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.898e-06/0.238, allocations: 2 kB / 0.6496 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.2381, allocations: 87.31 kB / 0.6497 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.2381, allocations: 2.125 kB / 0.6497 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.2382, allocations: 5.844 kB / 0.6497 GB, free: 55.33 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.299e-06/0.2382, allocations: 5.938 kB / 0.6497 GB, free: 55.33 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002208/0.2384, allocations: 95.22 kB / 0.6498 GB, free: 55.33 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003399/0.2387, allocations: 255.8 kB / 0.6501 GB, free: 55.1 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.2389, allocations: 92.77 kB / 0.6502 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.239, allocations: 62.2 kB / 0.6502 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/0.2391, allocations: 1.969 kB / 0.6502 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.359e-05/0.2391, allocations: 32.22 kB / 0.6502 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.2391, allocations: 0 / 0.6502 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0004005/0.2395, allocations: 162.6 kB / 0.6504 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.304e-05/0.2395, allocations: 58.62 kB / 0.6505 GB, free: 54.93 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.536e-05/0.2395, allocations: 98.47 kB / 0.6506 GB, free: 54.83 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.895e-06/0.2395, allocations: 30.39 kB / 0.6506 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.265e-05/0.2396, allocations: 86.86 kB / 0.6507 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/0.2396, allocations: 8.953 kB / 0.6507 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.827e-05/0.2396, allocations: 19.75 kB / 0.6507 GB, free: 54.69 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.965e-05/0.2396, allocations: 317.3 kB / 0.651 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.712e-05/0.2397, allocations: 47.69 kB / 0.651 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.346e-05/0.2398, allocations: 47 kB / 0.6511 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/0.24, allocations: 91.19 kB / 0.6512 GB, free: 54.37 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.24, allocations: 0 / 0.6512 GB, free: 54.37 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002145/0.2402, allocations: 124.9 kB / 0.6513 GB, free: 54.33 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.2402, allocations: 3.844 kB / 0.6513 GB, free: 54.33 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.2402, allocations: 2 kB / 0.6513 GB, free: 54.33 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.2403, allocations: 0 / 0.6513 GB, free: 54.33 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.6e-05/0.2404, allocations: 26.98 kB / 0.6513 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.2404, allocations: 2.969 kB / 0.6513 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.166e-05/0.2404, allocations: 15.56 kB / 0.6513 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.2404, allocations: 7.156 kB / 0.6513 GB, free: 54.32 MB / 0.5573 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 4.447e-05/0.2405, allocations: 113.2 kB / 0.6515 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.321e-05/0.2405, allocations: 7.891 kB / 0.6515 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.499e-05/0.2405, allocations: 7.859 kB / 0.6515 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.2405, allocations: 4 kB / 0.6515 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.2405, allocations: 0 / 0.6515 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.2405, allocations: 5.969 kB / 0.6515 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.67e-05/0.2406, allocations: 135.5 kB / 0.6516 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2406, allocations: 5.938 kB / 0.6516 GB, free: 54.03 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.497e-05/0.2407, allocations: 20.83 kB / 0.6516 GB, free: 54.03 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.72e-07/0.2407, allocations: 0 / 0.6516 GB, free: 54.03 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.2407, allocations: 1.75 kB / 0.6516 GB, free: 54.03 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.2407, allocations: 4.75 kB / 0.6516 GB, free: 54.03 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.2407, allocations: 2.25 kB / 0.6516 GB, free: 54.03 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002298/0.2409, allocations: 215.6 kB / 0.6518 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.752e-06/0.2409, allocations: 6.5 kB / 0.6519 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.2409, allocations: 0.8906 kB / 0.6519 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.416e-05/0.241, allocations: 22.22 kB / 0.6519 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.42e-05/0.241, allocations: 1.641 kB / 0.6519 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.241, allocations: 2.297 kB / 0.6519 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.94e-05/0.241, allocations: 85.72 kB / 0.652 GB, free: 53.81 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.241, allocations: 4.031 kB / 0.652 GB, free: 53.81 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001511/0.2412, allocations: 19.16 kB / 0.652 GB, free: 53.8 MB / 0.5573 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.0003638/0.2416, allocations: 0.7496 MB / 0.6527 GB, free: 53.14 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002308/0.2418, allocations: 100.7 kB / 0.6528 GB, free: 53.13 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.2418, allocations: 0 / 0.6528 GB, free: 53.13 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.2419, allocations: 51.23 kB / 0.6529 GB, free: 53.13 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.2421, allocations: 5.422 kB / 0.6529 GB, free: 53.13 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004221/0.2425, allocations: 197.9 kB / 0.6531 GB, free: 52.98 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.566e-05/0.2426, allocations: 60.23 kB / 0.6531 GB, free: 52.91 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 4.437e-05/0.2426, allocations: 9.047 kB / 0.6531 GB, free: 52.91 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.647e-05/0.2427, allocations: 10.89 kB / 0.6531 GB, free: 52.91 MB / 0.5573 GB Notification: Performance of SimCode: time 3.81e-07/0.2427, allocations: 0 / 0.6531 GB, free: 52.91 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01363/0.2563, allocations: 2.411 MB / 0.6555 GB, free: 52.07 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.331/6.587, allocations: 1.906 kB / 0.6555 GB, free: 52.07 MB / 0.5573 GB " [Timeout remaining time 653] (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: 9.235390502028167] Failed to read output from testmodel.py, exit status != 0: 6.6633067997172475 6.671983691 6.433051986 Calling exit ...