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.005549/0.005549, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001239/0.001239, allocations: 197.9 kB / 16.67 MB, free: 5.926 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.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7988/0.7988, allocations: 132.2 MB / 422.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 67.95 kB / 0.5809 GB, free: 1.082 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.2049, allocations: 80.21 MB / 0.6592 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.002947/0.2079, allocations: 1.477 MB / 0.6606 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003264/0.2082, allocations: 108.6 kB / 0.6607 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.603e-05/0.2083, allocations: 0 / 0.6607 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.423e-05/0.2084, allocations: 3.938 kB / 0.6607 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.555e-05/0.2084, allocations: 23.84 kB / 0.6608 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002188/0.2087, allocations: 19.97 kB / 0.6608 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.072e-05/0.2088, allocations: 47.86 kB / 0.6608 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.947e-05/0.2089, allocations: 7.984 kB / 0.6608 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.538e-05/0.2089, allocations: 11.94 kB / 0.6609 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.966e-05/0.209, allocations: 27.91 kB / 0.6609 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.209, allocations: 7.938 kB / 0.6609 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.397e-05/0.2091, allocations: 23.98 kB / 0.6609 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.221e-05/0.2092, allocations: 19.91 kB / 0.6609 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.616e-05/0.2092, allocations: 23.88 kB / 0.6609 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.2093, allocations: 55.8 kB / 0.661 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2094, allocations: 0 / 0.661 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2094, allocations: 0 / 0.661 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.2094, allocations: 0 / 0.661 GB, free: 12.11 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.000532/0.2099, allocations: 375 kB / 0.6614 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.21, allocations: 8.031 kB / 0.6614 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.309e-05/0.21, allocations: 46.73 kB / 0.6614 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.061e-05/0.21, allocations: 4.844 kB / 0.6614 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.2102, allocations: 172.3 kB / 0.6616 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.2102, allocations: 4.375 kB / 0.6616 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/0.2102, allocations: 4.312 kB / 0.6616 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002571/0.2105, allocations: 78.2 kB / 0.6617 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.2105, allocations: 3.938 kB / 0.6617 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.2105, allocations: 3.984 kB / 0.6617 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.2105, allocations: 8 kB / 0.6617 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002731/0.2108, allocations: 75.92 kB / 0.6618 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003785/0.2112, allocations: 284.8 kB / 0.662 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.2114, allocations: 74.41 kB / 0.6621 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.2116, allocations: 44.92 kB / 0.6621 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002541/0.2118, allocations: 105.1 kB / 0.6622 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.2118, allocations: 30.56 kB / 0.6623 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.2119, allocations: 8 kB / 0.6623 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005121/0.2124, allocations: 145.5 kB / 0.6624 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.2124, allocations: 55.34 kB / 0.6625 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.2125, allocations: 125.8 kB / 0.6626 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.2126, allocations: 29.7 kB / 0.6626 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.088e-05/0.2126, allocations: 96.12 kB / 0.6627 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.2127, allocations: 7.812 kB / 0.6627 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.2127, allocations: 13.72 kB / 0.6627 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.2128, allocations: 318.8 kB / 0.663 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.213, allocations: 31.97 kB / 0.6631 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.2131, allocations: 43.95 kB / 0.6631 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002648/0.2134, allocations: 80.72 kB / 0.6632 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2134, allocations: 0 / 0.6632 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003043/0.2137, allocations: 117.5 kB / 0.6633 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.2137, allocations: 4 kB / 0.6633 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2137, allocations: 0 / 0.6633 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.2137, allocations: 0 / 0.6633 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.2139, allocations: 15.98 kB / 0.6633 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.2139, allocations: 0 / 0.6633 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.434e-05/0.214, allocations: 15.92 kB / 0.6633 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.214, allocations: 0 / 0.6633 GB, free: 9.473 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 9.52e-05/0.2141, allocations: 126.4 kB / 0.6634 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.2141, allocations: 7.906 kB / 0.6635 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003501/0.2145, allocations: 113.5 kB / 0.6636 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2145, allocations: 0 / 0.6636 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2145, allocations: 0 / 0.6636 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.2145, allocations: 0 / 0.6636 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.2147, allocations: 189.9 kB / 0.6637 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2147, allocations: 4 kB / 0.6637 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.11e-05/0.2148, allocations: 15.97 kB / 0.6638 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.2148, allocations: 0 / 0.6638 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.2148, allocations: 4 kB / 0.6638 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.2148, allocations: 3.938 kB / 0.6638 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2148, allocations: 4 kB / 0.6638 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003473/0.2152, allocations: 215.3 kB / 0.664 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.319e-05/0.2152, allocations: 88.95 kB / 0.6641 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.2152, allocations: 0 / 0.6641 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.818e-05/0.2153, allocations: 7.984 kB / 0.6641 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.057e-05/0.2154, allocations: 11.98 kB / 0.6641 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.2154, allocations: 0 / 0.6641 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.508e-05/0.2155, allocations: 98.27 kB / 0.6642 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2155, allocations: 4 kB / 0.6642 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002298/0.2157, allocations: 12 kB / 0.6642 GB, free: 8.477 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.0006808/0.2164, allocations: 0.7436 MB / 0.6649 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003235/0.2167, allocations: 75.91 kB / 0.665 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.2167, allocations: 4 kB / 0.665 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001462/0.2169, allocations: 39.91 kB / 0.665 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.2172, allocations: 17.58 kB / 0.665 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005212/0.2177, allocations: 187 kB / 0.6652 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.218, allocations: 0.6885 MB / 0.6659 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.945e-05/0.218, allocations: 0 / 0.6659 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.65e-05/0.2181, allocations: 19.42 kB / 0.6659 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of SimCode: time 4.01e-07/0.2181, allocations: 0 / 0.6659 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01777/0.2359, allocations: 1.914 MB / 0.6678 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.416/7.652, allocations: 4.656 kB / 0.6678 GB, free: 4.801 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)