Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.000767/0.000767, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008208/0.0008208, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.8761/0.8761, allocations: 177.1 MB / 203.5 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7187/0.7187, allocations: 154.6 MB / 414.5 MB, free: 0.832 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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: translateModel(IDEAS.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear") translateModel(IDEAS.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.174e-05/2.334e-05, allocations: 5.656 kB / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.001819/0.001842, allocations: 1.509 MB / 0.6208 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002724/0.002115, allocations: 111.7 kB / 0.6209 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.41e-05/0.002149, allocations: 0 / 0.6209 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 4.554e-05/0.002194, allocations: 3.938 kB / 0.6209 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.954e-05/0.002254, allocations: 11.88 kB / 0.6209 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002239/0.002478, allocations: 19.97 kB / 0.6209 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.672e-05/0.002565, allocations: 51.78 kB / 0.6209 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.898e-05/0.002664, allocations: 7.984 kB / 0.621 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.019e-05/0.002724, allocations: 19.98 kB / 0.621 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.253e-05/0.002766, allocations: 15.97 kB / 0.621 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.002782, allocations: 8 kB / 0.621 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.925e-05/0.002851, allocations: 23.92 kB / 0.621 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.738e-05/0.002898, allocations: 8 kB / 0.621 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.244e-05/0.002921, allocations: 15.92 kB / 0.621 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.003052, allocations: 63.78 kB / 0.6211 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.003054, allocations: 4 kB / 0.6211 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.212e-06/0.003055, allocations: 0 / 0.6211 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.003059, allocations: 3.938 kB / 0.6211 GB, free: 11.32 MB / 0.5886 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.00037/0.003429, allocations: 298.1 kB / 0.6214 GB, free: 11 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.003464, allocations: 17.45 kB / 0.6214 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001592/0.003623, allocations: 24.88 kB / 0.6214 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.192e-05/0.003705, allocations: 125.7 kB / 0.6216 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.003715, allocations: 4.375 kB / 0.6216 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.799e-06/0.003725, allocations: 4.375 kB / 0.6216 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.003885, allocations: 74.2 kB / 0.6216 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.003892, allocations: 192 / 0.6216 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-06/0.003901, allocations: 4.375 kB / 0.6216 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.003905, allocations: 384 / 0.6216 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001513/0.004057, allocations: 83.8 kB / 0.6217 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003018/0.004358, allocations: 240.6 kB / 0.6219 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.004488, allocations: 74.45 kB / 0.622 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.025e-05/0.004569, allocations: 48.91 kB / 0.6221 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.959e-06/0.004578, allocations: 0 / 0.6221 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.0046, allocations: 34.5 kB / 0.6221 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.004601, allocations: 0 / 0.6221 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0003115/0.004912, allocations: 161.5 kB / 0.6223 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.004942, allocations: 51.41 kB / 0.6223 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.463e-05/0.005016, allocations: 133.2 kB / 0.6224 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.005027, allocations: 25.7 kB / 0.6225 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.184e-05/0.005069, allocations: 96.09 kB / 0.6225 GB, free: 9.703 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.657e-05/0.005085, allocations: 3.953 kB / 0.6225 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.942e-05/0.005115, allocations: 21.7 kB / 0.6226 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.518e-05/0.00519, allocations: 310.8 kB / 0.6229 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.868e-05/0.005269, allocations: 47.95 kB / 0.6229 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.879e-05/0.005337, allocations: 35.95 kB / 0.6229 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.005485, allocations: 88.7 kB / 0.623 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.005487, allocations: 0 / 0.623 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001698/0.005656, allocations: 121.8 kB / 0.6231 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.005669, allocations: 9.969 kB / 0.6232 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.005673, allocations: 48 / 0.6232 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.005686, allocations: 7.922 kB / 0.6232 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.189e-05/0.005768, allocations: 19.98 kB / 0.6232 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.005773, allocations: 0 / 0.6232 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.055e-05/0.005813, allocations: 19.97 kB / 0.6232 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.005819, allocations: 0 / 0.6232 GB, free: 9.008 MB / 0.5886 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 5.918e-05/0.005878, allocations: 118.8 kB / 0.6233 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.388e-05/0.005892, allocations: 11.89 kB / 0.6233 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.297e-05/0.005915, allocations: 11.94 kB / 0.6233 GB, free: 8.852 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.005917, allocations: 4 kB / 0.6233 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.005921, allocations: 0 / 0.6233 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.005924, allocations: 3.984 kB / 0.6233 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.676e-05/0.00602, allocations: 117.3 kB / 0.6235 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.61e-07/0.006021, allocations: 0 / 0.6235 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.388e-05/0.006065, allocations: 23.97 kB / 0.6235 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.006066, allocations: 0 / 0.6235 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.006072, allocations: 0 / 0.6235 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.006074, allocations: 3.938 kB / 0.6235 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.006075, allocations: 0 / 0.6235 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000206/0.006281, allocations: 211.4 kB / 0.6237 GB, free: 8.449 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.072e-06/0.006287, allocations: 0 / 0.6237 GB, free: 8.449 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.083e-05/0.006298, allocations: 8 kB / 0.6237 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.511e-05/0.006353, allocations: 15.91 kB / 0.6237 GB, free: 8.426 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.006391, allocations: 7.938 kB / 0.6237 GB, free: 8.418 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/0.006393, allocations: 3.938 kB / 0.6237 GB, free: 8.414 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.207e-05/0.006435, allocations: 99.27 kB / 0.6238 GB, free: 8.316 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006435, allocations: 0 / 0.6238 GB, free: 8.316 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001361/0.006571, allocations: 8 kB / 0.6238 GB, free: 8.309 MB / 0.5886 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 7.682e-05/0.006648, allocations: 99.23 kB / 0.6239 GB, free: 8.199 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001905/0.006839, allocations: 83.91 kB / 0.624 GB, free: 8.117 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.00684, allocations: 0 / 0.624 GB, free: 8.117 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.549e-05/0.006916, allocations: 43.95 kB / 0.624 GB, free: 8.074 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/0.007082, allocations: 8 kB / 0.624 GB, free: 8.066 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000299/0.007381, allocations: 182.4 kB / 0.6242 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.768e-05/0.007428, allocations: 71.33 kB / 0.6243 GB, free: 7.766 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.576e-05/0.007464, allocations: 12.5 kB / 0.6243 GB, free: 7.754 MB / 0.5886 GB Notification: Performance of SimCode: time 5.61e-07/0.007465, allocations: 3.938 kB / 0.6243 GB, free: 7.75 MB / 0.5886 GB Notification: Performance of Templates: time 0.001615/0.009079, allocations: 0.9271 MB / 0.6252 GB, free: 6.828 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.167087415233254] Failed to read output from testmodel.py, exit status != 0: 0.013553408905863762 0.02129259 0.016653468 Calling exit ...