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.00117/0.001175, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001522/0.001522, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.22/2.22, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.102/1.102, allocations: 132.2 MB / 423.2 MB, free: 2.184 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005121/0.0005123, allocations: 9.281 kB / 0.5033 GB, free: 4.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7821/0.7826, allocations: 81.59 MB / 0.583 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.001954/0.7846, allocations: 1.189 MB / 0.5841 GB, free: 3.125 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003239/0.785, allocations: 106.1 kB / 0.5842 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.447e-05/0.785, allocations: 1.125 kB / 0.5842 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.114e-05/0.7851, allocations: 4.547 kB / 0.5842 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.139e-05/0.7852, allocations: 7.156 kB / 0.5842 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002174/0.7854, allocations: 16.86 kB / 0.5843 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.115e-05/0.7855, allocations: 32.73 kB / 0.5843 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.7856, allocations: 7.094 kB / 0.5843 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.581e-05/0.7857, allocations: 16.98 kB / 0.5843 GB, free: 3.008 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.921e-05/0.7857, allocations: 20.02 kB / 0.5843 GB, free: 3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.7858, allocations: 2.031 kB / 0.5843 GB, free: 3 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.141e-05/0.7859, allocations: 17.11 kB / 0.5844 GB, free: 2.996 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.798e-05/0.7859, allocations: 10.72 kB / 0.5844 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.745e-05/0.7859, allocations: 32.42 kB / 0.5844 GB, free: 2.957 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.7861, allocations: 40.8 kB / 0.5844 GB, free: 2.945 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.7861, allocations: 0 / 0.5844 GB, free: 2.945 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.7861, allocations: 4 kB / 0.5844 GB, free: 2.941 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.7861, allocations: 0 / 0.5844 GB, free: 2.941 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.0005478/0.7866, allocations: 378.2 kB / 0.5848 GB, free: 2.574 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.7867, allocations: 9.844 kB / 0.5848 GB, free: 2.574 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.061e-05/0.7868, allocations: 36.23 kB / 0.5848 GB, free: 2.531 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.406e-05/0.7868, allocations: 11.09 kB / 0.5849 GB, free: 2.523 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.7869, allocations: 180.6 kB / 0.585 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.7869, allocations: 0.6562 kB / 0.585 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.787, allocations: 1.875 kB / 0.585 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003166/0.7873, allocations: 87.5 kB / 0.5851 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.7873, allocations: 4 kB / 0.5851 GB, free: 2.266 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.7873, allocations: 0.6562 kB / 0.5851 GB, free: 2.266 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.7873, allocations: 4.688 kB / 0.5851 GB, free: 2.262 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003862/0.7877, allocations: 94.86 kB / 0.5852 GB, free: 2.25 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004719/0.7882, allocations: 292 kB / 0.5855 GB, free: 1.957 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002677/0.7885, allocations: 78.81 kB / 0.5856 GB, free: 1.922 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002473/0.7888, allocations: 104.5 kB / 0.5857 GB, free: 1.828 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.7888, allocations: 32.34 kB / 0.5857 GB, free: 1.789 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.263e-06/0.7888, allocations: 1.219 kB / 0.5857 GB, free: 1.789 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0007169/0.7895, allocations: 191.2 kB / 0.5859 GB, free: 1.723 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.7896, allocations: 56.81 kB / 0.5859 GB, free: 1.656 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.7897, allocations: 127.2 kB / 0.5861 GB, free: 1.547 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.7897, allocations: 26.27 kB / 0.5861 GB, free: 1.516 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.422e-05/0.7898, allocations: 93.33 kB / 0.5862 GB, free: 1.426 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/0.7898, allocations: 9.438 kB / 0.5862 GB, free: 1.418 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/0.7898, allocations: 1.219 kB / 0.5862 GB, free: 1.418 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.084e-05/0.7899, allocations: 318.9 kB / 0.5865 GB, free: 1.102 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/0.7901, allocations: 44.81 kB / 0.5865 GB, free: 1.098 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/0.7903, allocations: 49.89 kB / 0.5866 GB, free: 1.09 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001916/0.7905, allocations: 49.09 kB / 0.5866 GB, free: 1.082 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.7905, allocations: 0 / 0.5866 GB, free: 1.082 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004308/0.791, allocations: 138.9 kB / 0.5867 GB, free: 1.027 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.791, allocations: 8.812 kB / 0.5868 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.791, allocations: 0 / 0.5868 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.7911, allocations: 336 / 0.5868 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.7912, allocations: 21.22 kB / 0.5868 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.7912, allocations: 4.656 kB / 0.5868 GB, free: 1.023 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.7914, allocations: 24.5 kB / 0.5868 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.7914, allocations: 1.125 kB / 0.5868 GB, free: 1.016 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.452e-05/0.7915, allocations: 114.8 kB / 0.5869 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.504e-05/0.7915, allocations: 7.578 kB / 0.5869 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004941/0.792, allocations: 142.6 kB / 0.5871 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.792, allocations: 1 kB / 0.5871 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.7921, allocations: 0.7031 kB / 0.5871 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.7921, allocations: 8.828 kB / 0.5871 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002186/0.7923, allocations: 187.2 kB / 0.5872 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.7923, allocations: 0 / 0.5872 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.7924, allocations: 20.84 kB / 0.5873 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.7924, allocations: 5.188 kB / 0.5873 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.7925, allocations: 0.75 kB / 0.5873 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.7925, allocations: 0.6562 kB / 0.5873 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.7925, allocations: 0 / 0.5873 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004628/0.7929, allocations: 232.1 kB / 0.5875 GB, free: 476 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.417e-05/0.793, allocations: 83.16 kB / 0.5876 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.793, allocations: 1.609 kB / 0.5876 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.7932, allocations: 16.19 kB / 0.5876 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.01e-05/0.7932, allocations: 4.031 kB / 0.5876 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.7932, allocations: 5.469 kB / 0.5876 GB, free: 372 kB / 430.1 MB Notification: Performance of sorting global known variables: time 9.712e-05/0.7933, allocations: 106.4 kB / 0.5877 GB, free: 284 kB / 430.1 MB Notification: Performance of sort global known variables: time 6.51e-07/0.7933, allocations: 0.9375 kB / 0.5877 GB, free: 284 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002737/0.7936, allocations: 9.719 kB / 0.5877 GB, free: 284 kB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008884/0.7945, allocations: 0.7715 MB / 0.5885 GB, free: 15.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004466/0.795, allocations: 102.8 kB / 0.5886 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.795, allocations: 0 / 0.5886 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001975/0.7952, allocations: 56.56 kB / 0.5886 GB, free: 15.56 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000201/0.7954, allocations: 3.922 kB / 0.5886 GB, free: 15.56 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005919/0.796, allocations: 196 kB / 0.5888 GB, free: 15.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.7963, allocations: 0.691 MB / 0.5895 GB, free: 14.69 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.608e-05/0.7964, allocations: 1.375 kB / 0.5895 GB, free: 14.69 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.432e-05/0.7964, allocations: 18.36 kB / 0.5895 GB, free: 14.67 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.7964, allocations: 0 / 0.5895 GB, free: 14.67 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01521/0.8117, allocations: 1.521 MB / 0.591 GB, free: 14.51 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002247/0.8119, allocations: 165.7 kB / 0.5911 GB, free: 14.27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.547/3.359, allocations: 0 / 0.5911 GB, free: 14.27 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/linux/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) Environment - environmentSimulation: