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.00136/0.00136, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.506/1.506, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7622/0.7622, allocations: 132.2 MB / 422.6 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 72.59 kB / 0.5019 GB, free: 3.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4548/0.4561, allocations: 80.2 MB / 0.5802 GB, free: 4.578 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.004653/0.4608, allocations: 1.479 MB / 0.5816 GB, free: 3.539 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004264/0.4612, allocations: 119.2 kB / 0.5818 GB, free: 3.453 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.922e-05/0.4613, allocations: 1.188 kB / 0.5818 GB, free: 3.453 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 5.35e-05/0.4614, allocations: 5.344 kB / 0.5818 GB, free: 3.449 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.851e-05/0.4615, allocations: 6.406 kB / 0.5818 GB, free: 3.445 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000309/0.4618, allocations: 25.48 kB / 0.5818 GB, free: 3.434 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.4619, allocations: 38.58 kB / 0.5818 GB, free: 3.418 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.4621, allocations: 10.41 kB / 0.5818 GB, free: 3.414 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.365e-05/0.4622, allocations: 22.3 kB / 0.5819 GB, free: 3.402 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.984e-05/0.4622, allocations: 23.28 kB / 0.5819 GB, free: 3.391 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/0.4623, allocations: 3.75 kB / 0.5819 GB, free: 3.391 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.4624, allocations: 24.55 kB / 0.5819 GB, free: 3.383 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.945e-05/0.4625, allocations: 13.83 kB / 0.5819 GB, free: 3.375 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.667e-05/0.4625, allocations: 23 kB / 0.5819 GB, free: 3.359 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.4627, allocations: 61 kB / 0.582 GB, free: 3.332 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.4627, allocations: 0 / 0.582 GB, free: 3.332 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4628, allocations: 0.9688 kB / 0.582 GB, free: 3.332 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.4628, allocations: 0 / 0.582 GB, free: 3.332 MB / 430.1 MB 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.0006612/0.4634, allocations: 384 kB / 0.5824 GB, free: 2.949 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.4635, allocations: 9.281 kB / 0.5824 GB, free: 2.949 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.862e-05/0.4636, allocations: 32.39 kB / 0.5824 GB, free: 2.91 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.917e-05/0.4636, allocations: 4.344 kB / 0.5824 GB, free: 2.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.566e-05/0.4637, allocations: 177.8 kB / 0.5826 GB, free: 2.703 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.4637, allocations: 1.75 kB / 0.5826 GB, free: 2.703 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.4638, allocations: 1.844 kB / 0.5826 GB, free: 2.703 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003935/0.4642, allocations: 77.83 kB / 0.5827 GB, free: 2.66 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.4642, allocations: 8.531 kB / 0.5827 GB, free: 2.652 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.4642, allocations: 0 / 0.5827 GB, free: 2.652 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.4642, allocations: 1.219 kB / 0.5827 GB, free: 2.652 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005444/0.4648, allocations: 76.44 kB / 0.5827 GB, free: 2.641 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004407/0.4652, allocations: 283.6 kB / 0.583 GB, free: 2.355 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003702/0.4656, allocations: 64.83 kB / 0.5831 GB, free: 2.324 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003007/0.466, allocations: 54.12 kB / 0.5831 GB, free: 2.301 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003999/0.4664, allocations: 110.5 kB / 0.5832 GB, free: 2.203 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.4664, allocations: 31.58 kB / 0.5833 GB, free: 2.164 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 2.024e-06/0.4664, allocations: 0 / 0.5833 GB, free: 2.164 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0009876/0.4674, allocations: 147.1 kB / 0.5834 GB, free: 2.113 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.4675, allocations: 57.48 kB / 0.5835 GB, free: 2.047 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.4676, allocations: 130.9 kB / 0.5836 GB, free: 1.938 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.4677, allocations: 25.7 kB / 0.5836 GB, free: 1.906 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.158e-05/0.4677, allocations: 95.17 kB / 0.5837 GB, free: 1.816 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.296e-05/0.4678, allocations: 6.703 kB / 0.5837 GB, free: 1.812 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.696e-05/0.4678, allocations: 17.03 kB / 0.5837 GB, free: 1.793 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.196e-05/0.4679, allocations: 315.5 kB / 0.584 GB, free: 1.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002759/0.4682, allocations: 42.59 kB / 0.5841 GB, free: 1.469 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002718/0.4685, allocations: 41.09 kB / 0.5841 GB, free: 1.461 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005152/0.469, allocations: 83.34 kB / 0.5842 GB, free: 1.438 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.469, allocations: 0 / 0.5842 GB, free: 1.438 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005845/0.4696, allocations: 116.4 kB / 0.5843 GB, free: 1.387 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.4697, allocations: 5.062 kB / 0.5843 GB, free: 1.387 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.4697, allocations: 0 / 0.5843 GB, free: 1.387 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.4697, allocations: 2 kB / 0.5843 GB, free: 1.387 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/0.4699, allocations: 14.62 kB / 0.5843 GB, free: 1.387 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.47, allocations: 0.6562 kB / 0.5843 GB, free: 1.387 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/0.4701, allocations: 27.73 kB / 0.5843 GB, free: 1.371 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.4701, allocations: 5.062 kB / 0.5843 GB, free: 1.367 MB / 430.1 MB 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.113e-05/0.4702, allocations: 116.8 kB / 0.5844 GB, free: 1.25 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.06e-05/0.4703, allocations: 7.422 kB / 0.5845 GB, free: 1.246 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006198/0.4709, allocations: 118.9 kB / 0.5846 GB, free: 1.191 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.4709, allocations: 5.188 kB / 0.5846 GB, free: 1.188 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.471, allocations: 0 / 0.5846 GB, free: 1.188 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.471, allocations: 1.578 kB / 0.5846 GB, free: 1.188 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002452/0.4712, allocations: 183 kB / 0.5848 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.4712, allocations: 0.7188 kB / 0.5848 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001744/0.4714, allocations: 15.72 kB / 0.5848 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.4714, allocations: 0 / 0.5848 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.4715, allocations: 1.328 kB / 0.5848 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.4715, allocations: 1.125 kB / 0.5848 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.4715, allocations: 4.5 kB / 0.5848 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006327/0.4721, allocations: 211.2 kB / 0.585 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.674e-05/0.4722, allocations: 80.55 kB / 0.5851 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.4722, allocations: 0.7031 kB / 0.5851 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/0.4724, allocations: 16.62 kB / 0.5851 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.177e-05/0.4725, allocations: 6.719 kB / 0.5851 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.4725, allocations: 6.109 kB / 0.5851 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.596e-05/0.4726, allocations: 96.95 kB / 0.5852 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of sort global known variables: time 3e-07/0.4726, allocations: 0 / 0.5852 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004542/0.4731, allocations: 13.47 kB / 0.5852 GB, free: 0.6406 MB / 430.1 MB 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.0009273/0.474, allocations: 0.7481 MB / 0.5859 GB, free: 15.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006265/0.4747, allocations: 76.39 kB / 0.586 GB, free: 15.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/0.4747, allocations: 4.75 kB / 0.586 GB, free: 15.94 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002999/0.475, allocations: 42.72 kB / 0.586 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004396/0.4755, allocations: 8.5 kB / 0.586 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007985/0.4763, allocations: 193.4 kB / 0.5862 GB, free: 15.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004157/0.4767, allocations: 0.6938 MB / 0.5869 GB, free: 15.05 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.957e-05/0.4768, allocations: 2.125 kB / 0.5869 GB, free: 15.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.625e-05/0.4769, allocations: 19.44 kB / 0.5869 GB, free: 15.04 MB / 446.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4769, allocations: 0 / 0.5869 GB, free: 15.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02246/0.4993, allocations: 1.831 MB / 0.5887 GB, free: 14.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.339/7.838, allocations: 1.688 kB / 0.5887 GB, free: 14.66 MB / 446.1 MB (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Utilities_Math_Examples_QuadraticLinear.fmu > IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)