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.007535/0.007535, allocations: 100.4 kB / 15.73 MB, free: 5.98 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.001661/0.001661, allocations: 192.1 kB / 16.67 MB, free: 5.918 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.475/1.475, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7817/0.7817, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001598, allocations: 67.91 kB / 0.5809 GB, free: 8.055 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4562/0.4578, allocations: 80.2 MB / 0.6592 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.002725/0.4606, allocations: 1.489 MB / 0.6606 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003364/0.4609, allocations: 115.2 kB / 0.6608 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.051e-05/0.461, allocations: 0 / 0.6608 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.935e-05/0.461, allocations: 6.438 kB / 0.6608 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.54e-05/0.4611, allocations: 10.56 kB / 0.6608 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002221/0.4613, allocations: 20.58 kB / 0.6608 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.114e-05/0.4614, allocations: 51.88 kB / 0.6608 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.4616, allocations: 6.094 kB / 0.6608 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.522e-05/0.4616, allocations: 21.84 kB / 0.6609 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.645e-05/0.4617, allocations: 27.03 kB / 0.6609 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.4617, allocations: 4.375 kB / 0.6609 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.23e-05/0.4618, allocations: 20.3 kB / 0.6609 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.105e-05/0.4618, allocations: 10.48 kB / 0.6609 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.308e-05/0.4619, allocations: 26.48 kB / 0.6609 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.462, allocations: 57.7 kB / 0.661 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.462, allocations: 0.75 kB / 0.661 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4621, allocations: 0 / 0.661 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.4621, allocations: 0 / 0.661 GB, free: 8.617 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.0004954/0.4626, allocations: 375.9 kB / 0.6614 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.4626, allocations: 10.03 kB / 0.6614 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.658e-05/0.4626, allocations: 35.45 kB / 0.6614 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.949e-05/0.4627, allocations: 13.03 kB / 0.6614 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.777e-05/0.4628, allocations: 173.7 kB / 0.6616 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.4628, allocations: 5.5 kB / 0.6616 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.4628, allocations: 1.688 kB / 0.6616 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002824/0.4631, allocations: 78.19 kB / 0.6617 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.4631, allocations: 3.938 kB / 0.6617 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.4631, allocations: 1.188 kB / 0.6617 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.4632, allocations: 4.734 kB / 0.6617 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003252/0.4635, allocations: 75.66 kB / 0.6617 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003104/0.4638, allocations: 284.4 kB / 0.662 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/0.464, allocations: 71.44 kB / 0.6621 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.4642, allocations: 47.45 kB / 0.6621 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000234/0.4644, allocations: 114.4 kB / 0.6622 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.487e-05/0.4645, allocations: 31.31 kB / 0.6623 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.4645, allocations: 0 / 0.6623 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005675/0.465, allocations: 143.6 kB / 0.6624 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.096e-05/0.4651, allocations: 59.95 kB / 0.6625 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.326e-05/0.4652, allocations: 126.5 kB / 0.6626 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.768e-06/0.4652, allocations: 27.14 kB / 0.6626 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.476e-05/0.4652, allocations: 95.98 kB / 0.6627 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.4652, allocations: 6.359 kB / 0.6627 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-05/0.4653, allocations: 12.69 kB / 0.6627 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.721e-05/0.4653, allocations: 319.1 kB / 0.663 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.4655, allocations: 39.25 kB / 0.6631 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.4656, allocations: 37.33 kB / 0.6631 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002909/0.4659, allocations: 82.66 kB / 0.6632 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.4659, allocations: 0 / 0.6632 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003419/0.4663, allocations: 116.7 kB / 0.6633 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.4663, allocations: 5.984 kB / 0.6633 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.4663, allocations: 0 / 0.6633 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.4663, allocations: 0 / 0.6633 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.4665, allocations: 20.69 kB / 0.6633 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.4665, allocations: 1.156 kB / 0.6633 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.338e-05/0.4666, allocations: 19.42 kB / 0.6633 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.4666, allocations: 1.062 kB / 0.6633 GB, free: 6.66 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 5.84e-05/0.4667, allocations: 118.8 kB / 0.6634 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.652e-05/0.4667, allocations: 8.328 kB / 0.6635 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004131/0.4671, allocations: 114.8 kB / 0.6636 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.4671, allocations: 1.281 kB / 0.6636 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.4671, allocations: 4 kB / 0.6636 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.4671, allocations: 4.828 kB / 0.6636 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.4673, allocations: 188.4 kB / 0.6638 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.4673, allocations: 0 / 0.6638 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.484e-05/0.4674, allocations: 14.97 kB / 0.6638 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.4674, allocations: 1.688 kB / 0.6638 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.4674, allocations: 0 / 0.6638 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.4674, allocations: 1.766 kB / 0.6638 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4674, allocations: 0 / 0.6638 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003532/0.4678, allocations: 218.2 kB / 0.664 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.13e-05/0.4678, allocations: 81.8 kB / 0.6641 GB, free: 6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.4678, allocations: 1.156 kB / 0.6641 GB, free: 6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.4679, allocations: 14.42 kB / 0.6641 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.327e-05/0.468, allocations: 15.05 kB / 0.6641 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.468, allocations: 0 / 0.6641 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.445e-05/0.4681, allocations: 99.45 kB / 0.6642 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.01e-07/0.4681, allocations: 0 / 0.6642 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002298/0.4683, allocations: 14.34 kB / 0.6642 GB, free: 5.895 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.000533/0.4688, allocations: 0.7506 MB / 0.6649 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003421/0.4692, allocations: 74.67 kB / 0.665 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4692, allocations: 0 / 0.665 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.4694, allocations: 48.27 kB / 0.665 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.4696, allocations: 8.062 kB / 0.6651 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004356/0.47, allocations: 176.6 kB / 0.6652 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001213/0.4702, allocations: 0.6907 MB / 0.6659 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.976e-05/0.4702, allocations: 2.188 kB / 0.6659 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.747e-05/0.4703, allocations: 17.62 kB / 0.6659 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.4703, allocations: 0 / 0.6659 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01707/0.4873, allocations: 1.902 MB / 0.6678 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.443/7.93, allocations: 9.938 kB / 0.6678 GB, free: 3.211 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)