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.001161/0.001161, allocations: 108 kB / 15.6 MB, free: 132 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.001107/0.001107, allocations: 199.7 kB / 16.54 MB, free: 6.672 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.309/1.309, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7604/0.7604, allocations: 132.2 MB / 422.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 59.88 kB / 0.5019 GB, free: 3.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3778, allocations: 80.2 MB / 0.5802 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.003109/0.3809, allocations: 1.476 MB / 0.5816 GB, free: 3.523 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003352/0.3813, allocations: 111.6 kB / 0.5817 GB, free: 3.445 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.481e-05/0.3813, allocations: 4.875 kB / 0.5817 GB, free: 3.441 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.733e-05/0.3814, allocations: 5.578 kB / 0.5817 GB, free: 3.438 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.968e-05/0.3814, allocations: 22.25 kB / 0.5818 GB, free: 3.418 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002375/0.3817, allocations: 16.72 kB / 0.5818 GB, free: 3.414 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.589e-05/0.3818, allocations: 48.03 kB / 0.5818 GB, free: 3.391 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.3819, allocations: 10.56 kB / 0.5818 GB, free: 3.387 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.09e-05/0.3819, allocations: 21.95 kB / 0.5819 GB, free: 3.375 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.21e-05/0.382, allocations: 18.11 kB / 0.5819 GB, free: 3.367 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.382, allocations: 9.344 kB / 0.5819 GB, free: 3.363 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.152e-05/0.3821, allocations: 20.36 kB / 0.5819 GB, free: 3.359 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.967e-05/0.3822, allocations: 14.89 kB / 0.5819 GB, free: 3.352 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.216e-05/0.3822, allocations: 25.92 kB / 0.5819 GB, free: 3.332 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001243/0.3823, allocations: 51.91 kB / 0.582 GB, free: 3.312 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3823, allocations: 1.375 kB / 0.582 GB, free: 3.312 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3823, allocations: 3.938 kB / 0.582 GB, free: 3.309 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.3824, allocations: 0.9062 kB / 0.582 GB, free: 3.309 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.0005134/0.3829, allocations: 380 kB / 0.5824 GB, free: 2.93 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.3829, allocations: 9.859 kB / 0.5824 GB, free: 2.93 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.78e-05/0.383, allocations: 35.55 kB / 0.5824 GB, free: 2.887 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.607e-05/0.383, allocations: 4.906 kB / 0.5824 GB, free: 2.887 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.3831, allocations: 177.5 kB / 0.5826 GB, free: 2.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.3831, allocations: 1.406 kB / 0.5826 GB, free: 2.68 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.3831, allocations: 1.719 kB / 0.5826 GB, free: 2.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000256/0.3834, allocations: 77.89 kB / 0.5827 GB, free: 2.637 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.3834, allocations: 7.938 kB / 0.5827 GB, free: 2.629 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.3834, allocations: 1.156 kB / 0.5827 GB, free: 2.629 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.3834, allocations: 0 / 0.5827 GB, free: 2.629 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003115/0.3838, allocations: 76.03 kB / 0.5827 GB, free: 2.617 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003125/0.3841, allocations: 285.5 kB / 0.583 GB, free: 2.332 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001961/0.3843, allocations: 71.52 kB / 0.5831 GB, free: 2.293 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001627/0.3845, allocations: 45.28 kB / 0.5831 GB, free: 2.277 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002487/0.3847, allocations: 110.9 kB / 0.5832 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.3847, allocations: 32.12 kB / 0.5833 GB, free: 2.141 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.3847, allocations: 1.188 kB / 0.5833 GB, free: 2.141 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006247/0.3854, allocations: 146.2 kB / 0.5834 GB, free: 2.09 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.3854, allocations: 56.41 kB / 0.5835 GB, free: 2.023 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.3855, allocations: 135.4 kB / 0.5836 GB, free: 1.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.3855, allocations: 26.41 kB / 0.5836 GB, free: 1.879 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.348e-05/0.3856, allocations: 94.98 kB / 0.5837 GB, free: 1.789 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.137e-05/0.3856, allocations: 6.156 kB / 0.5837 GB, free: 1.785 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.699e-05/0.3857, allocations: 14.25 kB / 0.5837 GB, free: 1.77 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.699e-05/0.3857, allocations: 318.6 kB / 0.584 GB, free: 1.453 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.3859, allocations: 39.86 kB / 0.5841 GB, free: 1.445 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.3861, allocations: 35.55 kB / 0.5841 GB, free: 1.441 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003062/0.3864, allocations: 86.94 kB / 0.5842 GB, free: 1.414 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.3864, allocations: 1.188 kB / 0.5842 GB, free: 1.414 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003395/0.3867, allocations: 111.4 kB / 0.5843 GB, free: 1.367 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.3868, allocations: 6.188 kB / 0.5843 GB, free: 1.367 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.3868, allocations: 0 / 0.5843 GB, free: 1.367 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.3868, allocations: 8.938 kB / 0.5843 GB, free: 1.359 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.3869, allocations: 15.84 kB / 0.5843 GB, free: 1.359 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.3869, allocations: 0 / 0.5843 GB, free: 1.359 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.325e-05/0.387, allocations: 20.22 kB / 0.5843 GB, free: 1.352 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.387, allocations: 5.812 kB / 0.5843 GB, free: 1.348 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 6.728e-05/0.3871, allocations: 121.1 kB / 0.5845 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.726e-05/0.3871, allocations: 6.188 kB / 0.5845 GB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003949/0.3875, allocations: 119.7 kB / 0.5846 GB, free: 1.168 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3876, allocations: 0 / 0.5846 GB, free: 1.168 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3876, allocations: 5.031 kB / 0.5846 GB, free: 1.164 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.3876, allocations: 0.6094 kB / 0.5846 GB, free: 1.164 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.3878, allocations: 183.5 kB / 0.5848 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3878, allocations: 0 / 0.5848 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.88e-05/0.3879, allocations: 19.97 kB / 0.5848 GB, free: 0.957 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.3879, allocations: 1.031 kB / 0.5848 GB, free: 0.957 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.3879, allocations: 0.9688 kB / 0.5848 GB, free: 0.957 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.3879, allocations: 0.5625 kB / 0.5848 GB, free: 0.957 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3879, allocations: 0.6562 kB / 0.5848 GB, free: 0.957 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003775/0.3883, allocations: 212.5 kB / 0.585 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.428e-05/0.3883, allocations: 78.56 kB / 0.5851 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.3883, allocations: 1.531 kB / 0.5851 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.3885, allocations: 11.36 kB / 0.5851 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/0.3885, allocations: 12.12 kB / 0.5851 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.3885, allocations: 1.688 kB / 0.5851 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.781e-05/0.3886, allocations: 97.05 kB / 0.5852 GB, free: 0.625 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3886, allocations: 0 / 0.5852 GB, free: 0.625 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002261/0.3888, allocations: 9.516 kB / 0.5852 GB, free: 0.625 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.0007227/0.3895, allocations: 0.752 MB / 0.5859 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003583/0.3899, allocations: 76.27 kB / 0.586 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3899, allocations: 1.094 kB / 0.586 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001655/0.3901, allocations: 50.88 kB / 0.586 GB, free: 15.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.3903, allocations: 7.031 kB / 0.586 GB, free: 15.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004692/0.3908, allocations: 189.8 kB / 0.5862 GB, free: 15.74 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.3911, allocations: 0.693 MB / 0.5869 GB, free: 15.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.667e-05/0.3911, allocations: 5.219 kB / 0.5869 GB, free: 15.03 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.12e-05/0.3912, allocations: 19.94 kB / 0.5869 GB, free: 15.02 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3912, allocations: 0 / 0.5869 GB, free: 15.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1111/0.5023, allocations: 1.833 MB / 0.5887 GB, free: 14.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.751/8.253, allocations: 4.062 kB / 0.5887 GB, free: 14.64 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 & /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)