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.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.00154/0.00154, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001933/0.001933, allocations: 192.7 kB / 22.23 MB, free: 5.098 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.584/1.584, allocations: 225.6 MB / 251 MB, free: 13.19 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.149/1.149, allocations: 177.9 MB / 484.2 MB, free: 5.508 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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: 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 0.002059/0.002059, allocations: 60.06 kB / 0.674 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6638/0.6658, allocations: 95.17 MB / 0.7669 GB, free: 8.117 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.003128/0.669, allocations: 1.506 MB / 0.7684 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004121/0.6694, allocations: 112.7 kB / 0.7685 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.721e-05/0.6694, allocations: 1.312 kB / 0.7685 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.599e-05/0.6695, allocations: 9.016 kB / 0.7685 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.866e-05/0.6696, allocations: 11.69 kB / 0.7685 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002954/0.6699, allocations: 20.52 kB / 0.7685 GB, free: 7.152 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.67, allocations: 47.22 kB / 0.7686 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.6701, allocations: 9.188 kB / 0.7686 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.466e-05/0.6701, allocations: 17.31 kB / 0.7686 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.07e-05/0.6702, allocations: 22.73 kB / 0.7686 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.6702, allocations: 3.688 kB / 0.7686 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.469e-05/0.6703, allocations: 20.45 kB / 0.7687 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.288e-05/0.6704, allocations: 23.02 kB / 0.7687 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.973e-05/0.6704, allocations: 22.44 kB / 0.7687 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.6706, allocations: 51.88 kB / 0.7687 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.6706, allocations: 4 kB / 0.7688 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.784e-06/0.6706, allocations: 5 kB / 0.7688 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.336e-05/0.6706, allocations: 0 / 0.7688 GB, free: 7.051 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006091/0.6712, allocations: 300.9 kB / 0.769 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.6713, allocations: 10.28 kB / 0.7691 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.323e-05/0.6713, allocations: 11.61 kB / 0.7691 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.6714, allocations: 127.9 kB / 0.7692 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.6714, allocations: 1.812 kB / 0.7692 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.6715, allocations: 1.625 kB / 0.7692 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003181/0.6718, allocations: 77.83 kB / 0.7693 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.6718, allocations: 1.281 kB / 0.7693 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.6718, allocations: 3.938 kB / 0.7693 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.6718, allocations: 1.125 kB / 0.7693 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000325/0.6721, allocations: 75.27 kB / 0.7693 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004046/0.6726, allocations: 258.8 kB / 0.7696 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000239/0.6728, allocations: 70.88 kB / 0.7697 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00017/0.673, allocations: 41.83 kB / 0.7697 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002313/0.6732, allocations: 34.38 kB / 0.7697 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.6732, allocations: 35.88 kB / 0.7698 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.6732, allocations: 4 kB / 0.7698 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0006033/0.6738, allocations: 146.9 kB / 0.7699 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.6739, allocations: 53.81 kB / 0.77 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.987e-05/0.6739, allocations: 123.7 kB / 0.7701 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.674, allocations: 29.7 kB / 0.7701 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.846e-05/0.674, allocations: 97.64 kB / 0.7702 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.674, allocations: 14.31 kB / 0.7702 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.304e-05/0.674, allocations: 12.44 kB / 0.7702 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.002e-05/0.6741, allocations: 318.4 kB / 0.7705 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.6743, allocations: 37.28 kB / 0.7706 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.6744, allocations: 40.38 kB / 0.7706 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003026/0.6747, allocations: 75.73 kB / 0.7707 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.6747, allocations: 3.938 kB / 0.7707 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003432/0.6751, allocations: 110.1 kB / 0.7708 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.6751, allocations: 10.73 kB / 0.7708 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.6751, allocations: 0 / 0.7708 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.6751, allocations: 0.75 kB / 0.7708 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.6752, allocations: 21.09 kB / 0.7708 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.6753, allocations: 0 / 0.7708 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.935e-05/0.6753, allocations: 12.39 kB / 0.7708 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.6753, allocations: 1.094 kB / 0.7708 GB, free: 5.43 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 (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 7.165e-05/0.6754, allocations: 125 kB / 0.7709 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/0.6754, allocations: 6.734 kB / 0.771 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004013/0.6758, allocations: 117.5 kB / 0.7711 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.6758, allocations: 0 / 0.7711 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.6759, allocations: 0.8125 kB / 0.7711 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.6759, allocations: 0 / 0.7711 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001676/0.676, allocations: 152.2 kB / 0.7712 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.676, allocations: 5.219 kB / 0.7712 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.867e-05/0.6761, allocations: 19.55 kB / 0.7712 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.6761, allocations: 1.094 kB / 0.7712 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.6761, allocations: 0 / 0.7712 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.6761, allocations: 1.438 kB / 0.7712 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.6761, allocations: 4 kB / 0.7712 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003974/0.6765, allocations: 212.9 kB / 0.7714 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.287e-05/0.6766, allocations: 9.844 kB / 0.7715 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.6766, allocations: 1.188 kB / 0.7715 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.6767, allocations: 11.14 kB / 0.7715 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.995e-05/0.6767, allocations: 4.719 kB / 0.7715 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.6767, allocations: 1.125 kB / 0.7715 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.814e-05/0.6768, allocations: 104.4 kB / 0.7716 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.6768, allocations: 4.781 kB / 0.7716 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002508/0.6771, allocations: 13.72 kB / 0.7716 GB, free: 4.812 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 (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.0001672/0.6772, allocations: 95.28 kB / 0.7717 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000467/0.6777, allocations: 85.55 kB / 0.7718 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.6777, allocations: 0 / 0.7718 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001822/0.6779, allocations: 45.55 kB / 0.7718 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.6782, allocations: 13.31 kB / 0.7718 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004575/0.6786, allocations: 150.7 kB / 0.772 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000157/0.6788, allocations: 0.6874 MB / 0.7726 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.961e-05/0.6788, allocations: 6.125 kB / 0.7726 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.658e-05/0.6788, allocations: 9.156 kB / 0.7726 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of SimCode: time 3.2e-07/0.6788, allocations: 4.594 kB / 0.7726 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of Templates: time 0.003984/0.6828, allocations: 0.8118 MB / 0.7734 GB, free: 3.762 MB / 0.5762 GB " [Timeout remaining time 659] 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: 6.78021861705929] Failed to read output from testmodel.py, exit status != 0: 0.6917998176068068 0.705585983 0.031523003 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f30894f57b0>