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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) 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.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(IDEAS.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006746/0.006746, allocations: 97.05 kB / 15.73 MB, free: 5.547 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001791/0.001791, allocations: 191.9 kB / 16.67 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8078/0.8078, allocations: 132.2 MB / 422.7 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 63.77 kB / 0.5809 GB, free: 24.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1353, allocations: 80.22 MB / 0.6592 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.002586/0.1379, allocations: 1.474 MB / 0.6606 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003267/0.1382, allocations: 120.5 kB / 0.6608 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.839e-05/0.1383, allocations: 0 / 0.6608 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.462e-05/0.1383, allocations: 7.938 kB / 0.6608 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.71e-05/0.1384, allocations: 7.922 kB / 0.6608 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002115/0.1386, allocations: 19.92 kB / 0.6608 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.332e-05/0.1387, allocations: 43.91 kB / 0.6608 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.022e-05/0.1388, allocations: 11.98 kB / 0.6608 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.979e-05/0.1389, allocations: 23.92 kB / 0.6609 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5e-05/0.1389, allocations: 19.91 kB / 0.6609 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.139, allocations: 7.938 kB / 0.6609 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.685e-05/0.139, allocations: 19.98 kB / 0.6609 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.388e-05/0.1391, allocations: 11.98 kB / 0.6609 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.913e-05/0.1391, allocations: 19.88 kB / 0.6609 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.1393, allocations: 64 kB / 0.661 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.1393, allocations: 0 / 0.661 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.783e-06/0.1393, allocations: 7.938 kB / 0.661 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.1393, allocations: 3.938 kB / 0.661 GB, free: 8.887 MB / 0.4981 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.0005834/0.1399, allocations: 375.2 kB / 0.6614 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.1399, allocations: 12.03 kB / 0.6614 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.868e-05/0.14, allocations: 34.75 kB / 0.6614 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.795e-05/0.14, allocations: 8.922 kB / 0.6614 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.1402, allocations: 176.2 kB / 0.6616 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.1402, allocations: 384 / 0.6616 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.1402, allocations: 4.375 kB / 0.6616 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002755/0.1405, allocations: 78.2 kB / 0.6617 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.1405, allocations: 3.938 kB / 0.6617 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.1405, allocations: 0 / 0.6617 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.1405, allocations: 0 / 0.6617 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003228/0.1409, allocations: 83.86 kB / 0.6618 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000402/0.1413, allocations: 276.9 kB / 0.662 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002193/0.1415, allocations: 66.47 kB / 0.6621 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/0.1417, allocations: 48.91 kB / 0.6621 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002729/0.142, allocations: 109.1 kB / 0.6622 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.142, allocations: 34.56 kB / 0.6623 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.884e-06/0.142, allocations: 3.938 kB / 0.6623 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0006012/0.1426, allocations: 149.5 kB / 0.6624 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.1427, allocations: 51.41 kB / 0.6625 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.1428, allocations: 125.8 kB / 0.6626 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.1428, allocations: 25.7 kB / 0.6626 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.42e-05/0.1429, allocations: 96.12 kB / 0.6627 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.844e-05/0.1429, allocations: 3.953 kB / 0.6627 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.139e-05/0.1429, allocations: 17.72 kB / 0.6627 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.1431, allocations: 318.8 kB / 0.663 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/0.1433, allocations: 35.97 kB / 0.6631 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001723/0.1435, allocations: 35.95 kB / 0.6631 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003081/0.1438, allocations: 92.66 kB / 0.6632 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1438, allocations: 0 / 0.6632 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003577/0.1441, allocations: 109.9 kB / 0.6633 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.1442, allocations: 7.984 kB / 0.6633 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1442, allocations: 0 / 0.6633 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.1442, allocations: 0 / 0.6633 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.1443, allocations: 23.98 kB / 0.6633 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1443, allocations: 0 / 0.6633 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.546e-05/0.1444, allocations: 15.92 kB / 0.6633 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.1445, allocations: 4 kB / 0.6633 GB, free: 6.254 MB / 0.4981 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 9.047e-05/0.1445, allocations: 118.6 kB / 0.6634 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/0.1446, allocations: 7.953 kB / 0.6635 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000407/0.145, allocations: 125.5 kB / 0.6636 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.145, allocations: 3.938 kB / 0.6636 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.145, allocations: 0 / 0.6636 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.145, allocations: 0 / 0.6636 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002/0.1452, allocations: 185.6 kB / 0.6638 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.1452, allocations: 0 / 0.6638 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.1453, allocations: 19.97 kB / 0.6638 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1454, allocations: 0 / 0.6638 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.1454, allocations: 4 kB / 0.6638 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1454, allocations: 3.938 kB / 0.6638 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1454, allocations: 0 / 0.6638 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004109/0.1458, allocations: 211.3 kB / 0.664 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.874e-05/0.1459, allocations: 85.06 kB / 0.6641 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.1459, allocations: 4 kB / 0.6641 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.146, allocations: 11.98 kB / 0.6641 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.146, allocations: 7.984 kB / 0.6641 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.146, allocations: 0 / 0.6641 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.141e-05/0.1461, allocations: 102.5 kB / 0.6642 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1461, allocations: 0 / 0.6642 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002329/0.1464, allocations: 12 kB / 0.6642 GB, free: 5.262 MB / 0.4981 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.0007498/0.1471, allocations: 0.7435 MB / 0.6649 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003906/0.1475, allocations: 83.91 kB / 0.665 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.1475, allocations: 0 / 0.665 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001733/0.1477, allocations: 39.97 kB / 0.665 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.148, allocations: 5.562 kB / 0.665 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004775/0.1484, allocations: 191 kB / 0.6652 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.1488, allocations: 0.6923 MB / 0.6659 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.984e-05/0.1488, allocations: 4 kB / 0.6659 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.254e-05/0.1489, allocations: 19.42 kB / 0.6659 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1489, allocations: 0 / 0.6659 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2639/0.4128, allocations: 1.877 MB / 0.6678 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.235/8.648, allocations: 8.062 kB / 0.6678 GB, free: 1.602 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_QuadraticLinear.fmu > IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)