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.0008737/0.0008736, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.005153/0.005153, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.214/1.214, allocations: 223.2 MB / 240.3 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7114/0.7114, allocations: 132.3 MB / 423.7 MB, free: 2.016 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003386/0.0003387, allocations: 8 kB / 0.5041 GB, free: 3.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.3521, allocations: 81.58 MB / 0.5837 GB, free: 3.887 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.001192/0.3534, allocations: 1.207 MB / 0.5849 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002561/0.3536, allocations: 119.2 kB / 0.585 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.289e-05/0.3537, allocations: 1.438 kB / 0.585 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.615e-05/0.3537, allocations: 5.391 kB / 0.585 GB, free: 2.918 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.673e-05/0.3537, allocations: 6.625 kB / 0.585 GB, free: 2.914 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001386/0.3539, allocations: 17.58 kB / 0.5851 GB, free: 2.906 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.282e-05/0.354, allocations: 36.5 kB / 0.5851 GB, free: 2.895 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.057e-05/0.354, allocations: 11.05 kB / 0.5851 GB, free: 2.891 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.722e-05/0.3541, allocations: 15.97 kB / 0.5851 GB, free: 2.883 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.155e-05/0.3541, allocations: 21.83 kB / 0.5851 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.3541, allocations: 6.188 kB / 0.5852 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.512e-05/0.3542, allocations: 18.69 kB / 0.5852 GB, free: 2.867 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.646e-05/0.3542, allocations: 13.27 kB / 0.5852 GB, free: 2.859 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.839e-05/0.3543, allocations: 44.83 kB / 0.5852 GB, free: 2.816 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001002/0.3544, allocations: 50.55 kB / 0.5853 GB, free: 2.801 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.3544, allocations: 4.688 kB / 0.5853 GB, free: 2.797 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3544, allocations: 0 / 0.5853 GB, free: 2.797 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.3544, allocations: 2.75 kB / 0.5853 GB, free: 2.797 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.0003813/0.3548, allocations: 379.7 kB / 0.5856 GB, free: 2.426 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.3548, allocations: 9 kB / 0.5857 GB, free: 2.426 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.332e-05/0.3549, allocations: 37.17 kB / 0.5857 GB, free: 2.383 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.157e-05/0.3549, allocations: 8.375 kB / 0.5857 GB, free: 2.379 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.635e-05/0.355, allocations: 177.8 kB / 0.5859 GB, free: 2.172 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.355, allocations: 5.719 kB / 0.5859 GB, free: 2.168 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.355, allocations: 1.938 kB / 0.5859 GB, free: 2.168 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002408/0.3552, allocations: 87.2 kB / 0.586 GB, free: 2.125 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.3553, allocations: 5.094 kB / 0.586 GB, free: 2.121 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.3553, allocations: 0 / 0.586 GB, free: 2.121 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.3553, allocations: 5.406 kB / 0.586 GB, free: 2.117 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003103/0.3556, allocations: 98.81 kB / 0.5861 GB, free: 2.102 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002553/0.3559, allocations: 280.5 kB / 0.5863 GB, free: 1.82 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.3561, allocations: 79.12 kB / 0.5864 GB, free: 1.785 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001613/0.3562, allocations: 62.42 kB / 0.5865 GB, free: 1.762 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001797/0.3564, allocations: 109.3 kB / 0.5866 GB, free: 1.664 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.352e-05/0.3564, allocations: 31.75 kB / 0.5866 GB, free: 1.625 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.3565, allocations: 0 / 0.5866 GB, free: 1.625 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005636/0.357, allocations: 176.3 kB / 0.5868 GB, free: 1.574 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.146e-05/0.3571, allocations: 61.75 kB / 0.5868 GB, free: 1.504 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.457e-05/0.3571, allocations: 134.6 kB / 0.587 GB, free: 1.391 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.474e-06/0.3571, allocations: 25.7 kB / 0.587 GB, free: 1.359 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.73e-05/0.3572, allocations: 93.33 kB / 0.5871 GB, free: 1.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.469e-05/0.3572, allocations: 9.672 kB / 0.5871 GB, free: 1.262 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.036e-05/0.3572, allocations: 11.25 kB / 0.5871 GB, free: 1.246 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.275e-05/0.3573, allocations: 319.1 kB / 0.5874 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.3574, allocations: 54.09 kB / 0.5874 GB, free: 0.918 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.3576, allocations: 45.27 kB / 0.5875 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002971/0.3579, allocations: 102.5 kB / 0.5876 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3579, allocations: 4.891 kB / 0.5876 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003458/0.3583, allocations: 132 kB / 0.5877 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.3583, allocations: 5.156 kB / 0.5877 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.3583, allocations: 4.453 kB / 0.5877 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.3583, allocations: 1.469 kB / 0.5877 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.3584, allocations: 20.08 kB / 0.5877 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.3584, allocations: 0 / 0.5877 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.523e-05/0.3585, allocations: 29.39 kB / 0.5878 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-06/0.3585, allocations: 0.9688 kB / 0.5878 GB, free: 0.8242 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 4.966e-05/0.3586, allocations: 120.9 kB / 0.5879 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.3586, allocations: 6.656 kB / 0.5879 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003784/0.359, allocations: 138.5 kB / 0.588 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.359, allocations: 1.469 kB / 0.588 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.359, allocations: 0 / 0.588 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.359, allocations: 1.547 kB / 0.588 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.3592, allocations: 183.8 kB / 0.5882 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3592, allocations: 4 kB / 0.5882 GB, free: 448 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.75e-05/0.3593, allocations: 24.34 kB / 0.5882 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.3593, allocations: 1.219 kB / 0.5882 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.3593, allocations: 0 / 0.5882 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.3593, allocations: 0.7031 kB / 0.5882 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3593, allocations: 4.719 kB / 0.5882 GB, free: 440 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003605/0.3597, allocations: 239.5 kB / 0.5885 GB, free: 276 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.75e-05/0.3597, allocations: 84.42 kB / 0.5885 GB, free: 176 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.3597, allocations: 0.6562 kB / 0.5885 GB, free: 176 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.3598, allocations: 16.05 kB / 0.5886 GB, free: 176 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.034e-05/0.3599, allocations: 4.078 kB / 0.5886 GB, free: 176 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.3599, allocations: 2.562 kB / 0.5886 GB, free: 176 kB / 430.1 MB Notification: Performance of sorting global known variables: time 4.082e-05/0.3599, allocations: 100.1 kB / 0.5887 GB, free: 92 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3599, allocations: 4 kB / 0.5887 GB, free: 88 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002141/0.3602, allocations: 9.5 kB / 0.5887 GB, free: 88 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 (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.0006502/0.3608, allocations: 0.7722 MB / 0.5894 GB, free: 15.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003609/0.3612, allocations: 102.6 kB / 0.5895 GB, free: 15.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.3612, allocations: 0 / 0.5895 GB, free: 15.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001804/0.3614, allocations: 53.36 kB / 0.5896 GB, free: 15.37 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.3616, allocations: 6.281 kB / 0.5896 GB, free: 15.37 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004217/0.362, allocations: 212.3 kB / 0.5898 GB, free: 15.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002019/0.3622, allocations: 0.6861 MB / 0.5905 GB, free: 14.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.918e-05/0.3623, allocations: 2.531 kB / 0.5905 GB, free: 14.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.785e-05/0.3623, allocations: 19.61 kB / 0.5905 GB, free: 14.47 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3623, allocations: 0 / 0.5905 GB, free: 14.47 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1606/0.5229, allocations: 1.541 MB / 0.592 GB, free: 14.3 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001975/0.5231, allocations: 190.9 kB / 0.5922 GB, free: 14.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.698/2.221, allocations: 0 / 0.5922 GB, free: 14.04 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)