Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="IDEAS_dev_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.007615/0.007615, allocations: 103.6 kB / 15.73 MB, free: 6.039 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.001327/0.001327, allocations: 194 kB / 16.67 MB, free: 5.973 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9736/0.9736, allocations: 135.1 MB / 425.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 67.89 kB / 0.5851 GB, free: 3.879 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4399/0.4412, allocations: 80.91 MB / 0.6642 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.002612/0.4439, allocations: 1.476 MB / 0.6656 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003273/0.4442, allocations: 112.7 kB / 0.6657 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.059e-05/0.4443, allocations: 4 kB / 0.6657 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.208e-05/0.4443, allocations: 5.25 kB / 0.6657 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.538e-05/0.4444, allocations: 5.344 kB / 0.6657 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002255/0.4446, allocations: 25.64 kB / 0.6658 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.483e-05/0.4447, allocations: 50.06 kB / 0.6658 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.216e-05/0.4448, allocations: 8.188 kB / 0.6658 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.112e-05/0.4449, allocations: 17.58 kB / 0.6658 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.504e-05/0.4449, allocations: 22.39 kB / 0.6658 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.445, allocations: 7.844 kB / 0.6659 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.889e-05/0.445, allocations: 24.03 kB / 0.6659 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.562e-05/0.4451, allocations: 6.625 kB / 0.6659 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.369e-05/0.4451, allocations: 23.86 kB / 0.6659 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.4452, allocations: 61.67 kB / 0.666 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4452, allocations: 0 / 0.666 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.174e-06/0.4453, allocations: 0 / 0.666 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.108e-05/0.4453, allocations: 0 / 0.666 GB, free: 5.863 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.0004873/0.4458, allocations: 385.4 kB / 0.6663 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.4458, allocations: 10.09 kB / 0.6663 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.194e-05/0.4458, allocations: 34.75 kB / 0.6664 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.195e-05/0.4459, allocations: 9.062 kB / 0.6664 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.518e-05/0.446, allocations: 175 kB / 0.6665 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.446, allocations: 6 kB / 0.6666 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.446, allocations: 5.484 kB / 0.6666 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002485/0.4463, allocations: 71.66 kB / 0.6666 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.4463, allocations: 7.938 kB / 0.6666 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.4463, allocations: 1.5 kB / 0.6666 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.4463, allocations: 0 / 0.6666 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002844/0.4466, allocations: 87.69 kB / 0.6667 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003531/0.447, allocations: 281.2 kB / 0.667 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002179/0.4472, allocations: 68.66 kB / 0.6671 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.4474, allocations: 47.06 kB / 0.6671 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002518/0.4476, allocations: 107.6 kB / 0.6672 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.4476, allocations: 34.56 kB / 0.6672 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.4476, allocations: 0 / 0.6672 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005611/0.4482, allocations: 147.4 kB / 0.6674 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.4483, allocations: 55.41 kB / 0.6674 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.4484, allocations: 129.2 kB / 0.6676 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.4484, allocations: 27.02 kB / 0.6676 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.986e-05/0.4485, allocations: 91.11 kB / 0.6677 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/0.4485, allocations: 13.33 kB / 0.6677 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.4485, allocations: 12.31 kB / 0.6677 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.369e-05/0.4486, allocations: 316.2 kB / 0.668 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.4488, allocations: 37.83 kB / 0.668 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.4489, allocations: 41.36 kB / 0.6681 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002522/0.4491, allocations: 87.06 kB / 0.6681 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.4492, allocations: 0 / 0.6681 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003112/0.4495, allocations: 105.8 kB / 0.6682 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.4495, allocations: 7.781 kB / 0.6683 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.4495, allocations: 0 / 0.6683 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.4495, allocations: 0 / 0.6683 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.4497, allocations: 18.97 kB / 0.6683 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.4497, allocations: 0 / 0.6683 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.23e-05/0.4498, allocations: 15.42 kB / 0.6683 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/0.4498, allocations: 5.375 kB / 0.6683 GB, free: 3.688 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 8.685e-05/0.4499, allocations: 118.8 kB / 0.6684 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.672e-05/0.4499, allocations: 6.812 kB / 0.6684 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000362/0.4503, allocations: 120.6 kB / 0.6685 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.4503, allocations: 5.594 kB / 0.6685 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.4503, allocations: 3.938 kB / 0.6685 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.4503, allocations: 5.062 kB / 0.6685 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001668/0.4505, allocations: 183.8 kB / 0.6687 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.4505, allocations: 3.984 kB / 0.6687 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.548e-05/0.4506, allocations: 14.33 kB / 0.6687 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.4506, allocations: 1.219 kB / 0.6687 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.4506, allocations: 0 / 0.6687 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.4506, allocations: 5.266 kB / 0.6687 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.4506, allocations: 0 / 0.6687 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003372/0.4509, allocations: 213.4 kB / 0.6689 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.083e-05/0.451, allocations: 86.31 kB / 0.669 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.161e-05/0.451, allocations: 5.438 kB / 0.669 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.483e-05/0.4511, allocations: 10.23 kB / 0.669 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.604e-05/0.4512, allocations: 5.094 kB / 0.669 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.4512, allocations: 5.219 kB / 0.6691 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.701e-05/0.4512, allocations: 103 kB / 0.6692 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.4513, allocations: 0 / 0.6692 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002244/0.4515, allocations: 9.406 kB / 0.6692 GB, free: 2.863 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.0005633/0.4521, allocations: 0.7452 MB / 0.6699 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003143/0.4524, allocations: 77.89 kB / 0.67 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.4524, allocations: 1.25 kB / 0.67 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.4525, allocations: 44.05 kB / 0.67 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.4528, allocations: 7.375 kB / 0.67 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004531/0.4532, allocations: 184.7 kB / 0.6702 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.4534, allocations: 0.691 MB / 0.6709 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.577e-05/0.4534, allocations: 2.281 kB / 0.6709 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.726e-05/0.4534, allocations: 14.12 kB / 0.6709 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of SimCode: time 1.9e-07/0.4534, allocations: 7.938 kB / 0.6709 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01864/0.4721, allocations: 1.883 MB / 0.6727 GB, free: 172 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.291/7.763, allocations: 14.2 kB / 0.6727 GB, free: 160 kB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_QuadraticLinear.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)