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.001298/0.001298, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001036/0.001036, allocations: 197.7 kB / 16.25 MB, free: 6.621 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.333/1.333, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7325/0.7325, allocations: 132.2 MB / 422.3 MB, free: 1.898 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 59.81 kB / 0.5014 GB, free: 4.078 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.3529, allocations: 80.2 MB / 0.5797 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.0024/0.3554, allocations: 1.541 MB / 0.5812 GB, free: 3.465 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003326/0.3557, allocations: 118.2 kB / 0.5813 GB, free: 3.379 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.604e-05/0.3558, allocations: 9.094 kB / 0.5813 GB, free: 3.371 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.709e-05/0.3558, allocations: 1.312 kB / 0.5813 GB, free: 3.371 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.183e-05/0.3559, allocations: 6.953 kB / 0.5813 GB, free: 3.367 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002217/0.3561, allocations: 18 kB / 0.5813 GB, free: 3.359 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.354e-05/0.3562, allocations: 44 kB / 0.5814 GB, free: 3.34 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.3564, allocations: 11.02 kB / 0.5814 GB, free: 3.336 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.055e-05/0.3564, allocations: 17.28 kB / 0.5814 GB, free: 3.328 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.368e-05/0.3565, allocations: 23.09 kB / 0.5814 GB, free: 3.316 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.3565, allocations: 8.156 kB / 0.5814 GB, free: 3.312 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.21e-05/0.3566, allocations: 21.89 kB / 0.5814 GB, free: 3.309 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.968e-05/0.3567, allocations: 12.88 kB / 0.5815 GB, free: 3.301 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.811e-05/0.3567, allocations: 22.97 kB / 0.5815 GB, free: 3.285 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.3569, allocations: 56.64 kB / 0.5815 GB, free: 3.262 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3569, allocations: 0.625 kB / 0.5815 GB, free: 3.262 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3569, allocations: 0 / 0.5815 GB, free: 3.262 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.3569, allocations: 0.5625 kB / 0.5815 GB, free: 3.262 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.0005811/0.3575, allocations: 384.1 kB / 0.5819 GB, free: 2.879 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.3575, allocations: 9.25 kB / 0.5819 GB, free: 2.879 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.418e-05/0.3576, allocations: 32.86 kB / 0.5819 GB, free: 2.84 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.557e-05/0.3576, allocations: 3.469 kB / 0.5819 GB, free: 2.84 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.827e-05/0.3577, allocations: 186.9 kB / 0.5821 GB, free: 2.625 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.3577, allocations: 1.094 kB / 0.5821 GB, free: 2.625 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.3578, allocations: 2 kB / 0.5821 GB, free: 2.625 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003447/0.3581, allocations: 73.44 kB / 0.5822 GB, free: 2.586 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.3581, allocations: 9.344 kB / 0.5822 GB, free: 2.578 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.3582, allocations: 4 kB / 0.5822 GB, free: 2.574 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.3582, allocations: 1.094 kB / 0.5822 GB, free: 2.574 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004506/0.3586, allocations: 71.3 kB / 0.5823 GB, free: 2.566 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004421/0.3591, allocations: 292.4 kB / 0.5826 GB, free: 2.273 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000295/0.3594, allocations: 64.2 kB / 0.5826 GB, free: 2.242 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002331/0.3596, allocations: 42.39 kB / 0.5827 GB, free: 2.23 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003183/0.36, allocations: 111.5 kB / 0.5828 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.36, allocations: 31.17 kB / 0.5828 GB, free: 2.094 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.844e-06/0.36, allocations: 0.6875 kB / 0.5828 GB, free: 2.094 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0008153/0.3608, allocations: 155.5 kB / 0.5829 GB, free: 2.035 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.49e-05/0.3609, allocations: 55.41 kB / 0.583 GB, free: 1.969 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.361, allocations: 131.1 kB / 0.5831 GB, free: 1.859 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.361, allocations: 26.52 kB / 0.5831 GB, free: 1.828 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.374e-05/0.3611, allocations: 93.05 kB / 0.5832 GB, free: 1.738 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.3611, allocations: 6.125 kB / 0.5832 GB, free: 1.734 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.73e-05/0.3612, allocations: 21.94 kB / 0.5833 GB, free: 1.711 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.669e-05/0.3612, allocations: 314 kB / 0.5836 GB, free: 1.398 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002242/0.3615, allocations: 43.16 kB / 0.5836 GB, free: 1.387 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002093/0.3617, allocations: 41.12 kB / 0.5836 GB, free: 1.379 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004049/0.3621, allocations: 79.11 kB / 0.5837 GB, free: 1.359 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3621, allocations: 0 / 0.5837 GB, free: 1.359 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004806/0.3626, allocations: 116.5 kB / 0.5838 GB, free: 1.309 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.3626, allocations: 11.39 kB / 0.5838 GB, free: 1.305 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3626, allocations: 1.156 kB / 0.5838 GB, free: 1.305 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.3627, allocations: 0 / 0.5838 GB, free: 1.305 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.3628, allocations: 20.2 kB / 0.5839 GB, free: 1.301 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.3629, allocations: 1 kB / 0.5839 GB, free: 1.301 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.363, allocations: 23.34 kB / 0.5839 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.363, allocations: 0.75 kB / 0.5839 GB, free: 1.289 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.993e-05/0.3631, allocations: 117 kB / 0.584 GB, free: 1.172 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.599e-05/0.3631, allocations: 11.34 kB / 0.584 GB, free: 1.164 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005111/0.3637, allocations: 118.5 kB / 0.5841 GB, free: 1.109 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.3637, allocations: 5.438 kB / 0.5841 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3637, allocations: 0.8125 kB / 0.5841 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3637, allocations: 0 / 0.5841 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000213/0.3639, allocations: 180.1 kB / 0.5843 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3639, allocations: 0 / 0.5843 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001383/0.3641, allocations: 16.14 kB / 0.5843 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.3641, allocations: 0.5156 kB / 0.5843 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.3641, allocations: 0.8438 kB / 0.5843 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.3641, allocations: 0.625 kB / 0.5843 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3641, allocations: 0.6094 kB / 0.5843 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004914/0.3646, allocations: 213 kB / 0.5845 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.275e-05/0.3647, allocations: 83.42 kB / 0.5846 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.3647, allocations: 0 / 0.5846 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.3649, allocations: 15.75 kB / 0.5846 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/0.3649, allocations: 8.391 kB / 0.5846 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.365, allocations: 1.094 kB / 0.5846 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.279e-05/0.365, allocations: 100.9 kB / 0.5847 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.365, allocations: 0 / 0.5847 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004334/0.3655, allocations: 10.02 kB / 0.5847 GB, free: 0.5664 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.0008628/0.3663, allocations: 0.7452 MB / 0.5855 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005512/0.3669, allocations: 80.36 kB / 0.5855 GB, free: 15.87 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.3669, allocations: 4 kB / 0.5855 GB, free: 15.87 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002488/0.3672, allocations: 47.67 kB / 0.5856 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003952/0.3676, allocations: 9.312 kB / 0.5856 GB, free: 15.85 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007308/0.3683, allocations: 203 kB / 0.5858 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.3687, allocations: 0.6937 MB / 0.5865 GB, free: 14.96 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.408e-05/0.3688, allocations: 3.188 kB / 0.5865 GB, free: 14.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.081e-05/0.3688, allocations: 18.03 kB / 0.5865 GB, free: 14.95 MB / 446.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3688, allocations: 1.531 kB / 0.5865 GB, free: 14.95 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1968/0.5657, allocations: 1.655 MB / 0.5881 GB, free: 14.69 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000277/0.566, allocations: 187.5 kB / 0.5883 GB, free: 14.44 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.689/2.255, allocations: 0 / 0.5883 GB, free: 14.44 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)