Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.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.00183/0.00183, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002153/0.002153, allocations: 158.4 kB / 23 MB, free: 4.602 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.389/1.389, allocations: 177.2 MB / 203.4 MB, free: 8.906 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7922/0.7922, allocations: 101.3 MB / 361.1 MB, free: 8.758 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: translateModel(IDEAS.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear") translateModel(IDEAS.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear") [Timeout 660] "Notification: IDEAS 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.002068/0.002068, allocations: 71.8 kB / 0.5356 GB, free: 12.66 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1444, allocations: 85.87 MB / 0.6195 GB, free: 6.758 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.002568/0.147, allocations: 1.498 MB / 0.621 GB, free: 5.25 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002942/0.1472, allocations: 108.6 kB / 0.6211 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.765e-05/0.1473, allocations: 0 / 0.6211 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.039e-05/0.1473, allocations: 11.94 kB / 0.6211 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.703e-05/0.1474, allocations: 7.875 kB / 0.6211 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001859/0.1475, allocations: 23.97 kB / 0.6211 GB, free: 5.098 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.022e-05/0.1476, allocations: 43.84 kB / 0.6211 GB, free: 5.055 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.046e-05/0.1477, allocations: 11.94 kB / 0.6212 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.421e-05/0.1478, allocations: 15.92 kB / 0.6212 GB, free: 5.027 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.868e-05/0.1478, allocations: 19.92 kB / 0.6212 GB, free: 5.008 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.1478, allocations: 4 kB / 0.6212 GB, free: 5.004 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.259e-05/0.1479, allocations: 23.97 kB / 0.6212 GB, free: 4.98 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.189e-05/0.1479, allocations: 19.92 kB / 0.6212 GB, free: 4.961 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.837e-05/0.148, allocations: 19.86 kB / 0.6213 GB, free: 4.941 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.1481, allocations: 51.81 kB / 0.6213 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1481, allocations: 0 / 0.6213 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1481, allocations: 3.938 kB / 0.6213 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.1481, allocations: 0 / 0.6213 GB, free: 4.887 MB / 0.5294 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.0005111/0.1486, allocations: 302.1 kB / 0.6216 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.1486, allocations: 12.03 kB / 0.6216 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.324e-05/0.1487, allocations: 8.891 kB / 0.6216 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.1488, allocations: 126.4 kB / 0.6217 GB, free: 4.391 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.1488, allocations: 4.375 kB / 0.6217 GB, free: 4.387 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.918e-06/0.1488, allocations: 4.312 kB / 0.6217 GB, free: 4.383 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002569/0.1491, allocations: 78.2 kB / 0.6218 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.1491, allocations: 192 / 0.6218 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.1491, allocations: 3.938 kB / 0.6218 GB, free: 4.297 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.1491, allocations: 0 / 0.6218 GB, free: 4.297 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003295/0.1494, allocations: 75.92 kB / 0.6219 GB, free: 4.223 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003252/0.1497, allocations: 220.6 kB / 0.6221 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002245/0.15, allocations: 70.47 kB / 0.6222 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/0.1501, allocations: 48.84 kB / 0.6222 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001834/0.1503, allocations: 39.97 kB / 0.6223 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.1503, allocations: 30.56 kB / 0.6223 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1503, allocations: 0 / 0.6223 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005772/0.1509, allocations: 141.5 kB / 0.6224 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.151, allocations: 63.34 kB / 0.6225 GB, free: 3.551 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.1511, allocations: 127.8 kB / 0.6226 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.1511, allocations: 29.7 kB / 0.6226 GB, free: 3.383 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.304e-05/0.1512, allocations: 84.14 kB / 0.6227 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.1512, allocations: 21.23 kB / 0.6227 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.418e-05/0.1512, allocations: 13.7 kB / 0.6227 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1514, allocations: 318.8 kB / 0.623 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.1515, allocations: 35.95 kB / 0.6231 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.1517, allocations: 39.97 kB / 0.6231 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003066/0.152, allocations: 72.78 kB / 0.6232 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.152, allocations: 0 / 0.6232 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003653/0.1524, allocations: 121.8 kB / 0.6233 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.1524, allocations: 11.94 kB / 0.6233 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.996e-06/0.1524, allocations: 0 / 0.6233 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.1524, allocations: 4.031 kB / 0.6233 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.1525, allocations: 19.92 kB / 0.6233 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1525, allocations: 3.984 kB / 0.6233 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.236e-05/0.1526, allocations: 11.98 kB / 0.6234 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.1526, allocations: 4 kB / 0.6234 GB, free: 2.609 MB / 0.5294 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 (3): * Single equations (assignments): 3 * 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 8.104e-05/0.1527, allocations: 114.9 kB / 0.6235 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.98e-05/0.1527, allocations: 11.94 kB / 0.6235 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003983/0.1531, allocations: 121.5 kB / 0.6236 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.1531, allocations: 0 / 0.6236 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.1531, allocations: 0 / 0.6236 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.1531, allocations: 0 / 0.6236 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.1533, allocations: 117.3 kB / 0.6237 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.1533, allocations: 7.938 kB / 0.6237 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.1534, allocations: 27.84 kB / 0.6237 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1534, allocations: 0 / 0.6237 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.1534, allocations: 0 / 0.6237 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.1534, allocations: 4 kB / 0.6237 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1534, allocations: 0 / 0.6237 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004076/0.1538, allocations: 199.5 kB / 0.6239 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.566e-05/0.1538, allocations: 11.89 kB / 0.6239 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.1538, allocations: 4 kB / 0.6239 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.154, allocations: 15.98 kB / 0.624 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.154, allocations: 3.984 kB / 0.624 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.154, allocations: 0 / 0.624 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.578e-05/0.1541, allocations: 106 kB / 0.6241 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1541, allocations: 0 / 0.6241 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002335/0.1543, allocations: 8 kB / 0.6241 GB, free: 1.809 MB / 0.5294 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 (3): * Single equations (assignments): 3 * 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.0001141/0.1544, allocations: 103.1 kB / 0.6242 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003719/0.1548, allocations: 79.91 kB / 0.6243 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1548, allocations: 0 / 0.6243 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001676/0.155, allocations: 39.95 kB / 0.6243 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.1552, allocations: 10.19 kB / 0.6243 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003191/0.1555, allocations: 161.2 kB / 0.6245 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.78e-05/0.1556, allocations: 75.58 kB / 0.6245 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.602e-05/0.1556, allocations: 4 kB / 0.6245 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.503e-05/0.1556, allocations: 12.5 kB / 0.6245 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of SimCode: time 4.31e-07/0.1556, allocations: 3.938 kB / 0.6245 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of Templates: time 0.003196/0.1588, allocations: 0.8342 MB / 0.6254 GB, free: 468 kB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.035121768945828] Failed to read output from testmodel.py, exit status != 0: 0.16663072200026363 0.18098252599999995 0.029878980000000003 Calling exit ...