Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic.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.Biquadratic,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Biquadratic,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_Biquadratic",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.001176/0.001176, allocations: 107.4 kB / 15.34 MB, free: 0.5195 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.001119/0.001119, allocations: 195.6 kB / 16.26 MB, free: 6.625 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.39/1.39, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9418/0.9418, allocations: 135.1 MB / 425.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 69 kB / 0.505 GB, free: 5.555 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1456, allocations: 80.92 MB / 0.584 GB, free: 4.805 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Biquadratic): time 0.002442/0.1481, allocations: 1.539 MB / 0.5855 GB, free: 3.246 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002454/0.1484, allocations: 104.5 kB / 0.5856 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.738e-05/0.1484, allocations: 0 / 0.5856 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.025e-05/0.1484, allocations: 11.92 kB / 0.5856 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.044e-05/0.1485, allocations: 3.938 kB / 0.5856 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001648/0.1487, allocations: 15.98 kB / 0.5856 GB, free: 3.109 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.83e-05/0.1488, allocations: 47.84 kB / 0.5857 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.362e-05/0.1488, allocations: 8 kB / 0.5857 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.067e-05/0.1489, allocations: 27.91 kB / 0.5857 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.995e-05/0.1489, allocations: 15.92 kB / 0.5857 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.149, allocations: 4 kB / 0.5857 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.587e-05/0.149, allocations: 23.92 kB / 0.5857 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.199e-05/0.1491, allocations: 15.92 kB / 0.5858 GB, free: 2.969 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.867e-05/0.1491, allocations: 23.86 kB / 0.5858 GB, free: 2.945 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001022/0.1492, allocations: 59.8 kB / 0.5858 GB, free: 2.887 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1492, allocations: 0 / 0.5858 GB, free: 2.887 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1492, allocations: 0 / 0.5858 GB, free: 2.887 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.1492, allocations: 4 kB / 0.5858 GB, free: 2.883 MB / 494.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.0004477/0.1497, allocations: 379.4 kB / 0.5862 GB, free: 2.461 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.1497, allocations: 8.031 kB / 0.5862 GB, free: 2.453 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.937e-05/0.1498, allocations: 34.75 kB / 0.5862 GB, free: 2.41 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.557e-05/0.1498, allocations: 4.938 kB / 0.5863 GB, free: 2.406 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.1499, allocations: 172.3 kB / 0.5864 GB, free: 2.199 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.512e-06/0.1499, allocations: 384 / 0.5864 GB, free: 2.199 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.1499, allocations: 4.375 kB / 0.5864 GB, free: 2.195 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002316/0.1502, allocations: 78.2 kB / 0.5865 GB, free: 2.113 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.1502, allocations: 7.875 kB / 0.5865 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.1502, allocations: 0 / 0.5865 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.1502, allocations: 0 / 0.5865 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002647/0.1505, allocations: 75.92 kB / 0.5866 GB, free: 2.031 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003025/0.1508, allocations: 292.7 kB / 0.5869 GB, free: 1.695 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.151, allocations: 66.53 kB / 0.5869 GB, free: 1.621 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.1511, allocations: 48.86 kB / 0.587 GB, free: 1.57 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002077/0.1514, allocations: 109.1 kB / 0.5871 GB, free: 1.445 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.846e-05/0.1514, allocations: 30.56 kB / 0.5871 GB, free: 1.406 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1514, allocations: 0 / 0.5871 GB, free: 1.406 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004984/0.1519, allocations: 153.5 kB / 0.5872 GB, free: 1.25 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.1519, allocations: 51.41 kB / 0.5873 GB, free: 1.188 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.314e-05/0.152, allocations: 128.8 kB / 0.5874 GB, free: 1.055 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.152, allocations: 25.7 kB / 0.5874 GB, free: 1.023 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.573e-05/0.1521, allocations: 96.12 kB / 0.5875 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.479e-05/0.1521, allocations: 3.906 kB / 0.5875 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.209e-05/0.1521, allocations: 17.72 kB / 0.5876 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.384e-05/0.1522, allocations: 318.8 kB / 0.5879 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.1524, allocations: 39.91 kB / 0.5879 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.1525, allocations: 39.95 kB / 0.5879 GB, free: 0.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000251/0.1528, allocations: 80.72 kB / 0.588 GB, free: 428 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1528, allocations: 0 / 0.588 GB, free: 428 kB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000297/0.1531, allocations: 121.5 kB / 0.5881 GB, free: 300 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.1531, allocations: 7.938 kB / 0.5881 GB, free: 292 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.1531, allocations: 0 / 0.5881 GB, free: 292 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.1531, allocations: 4 kB / 0.5881 GB, free: 288 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.1532, allocations: 19.98 kB / 0.5882 GB, free: 268 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.1533, allocations: 0 / 0.5882 GB, free: 268 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.457e-05/0.1533, allocations: 11.98 kB / 0.5882 GB, free: 256 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.1533, allocations: 3.938 kB / 0.5882 GB, free: 252 kB / 494.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.682e-05/0.1534, allocations: 121.8 kB / 0.5883 GB, free: 120 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.619e-05/0.1534, allocations: 7.906 kB / 0.5883 GB, free: 112 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003549/0.1538, allocations: 117.8 kB / 0.5884 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.1538, allocations: 0 / 0.5884 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.1538, allocations: 0 / 0.5884 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.1538, allocations: 8.016 kB / 0.5884 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.154, allocations: 181.6 kB / 0.5886 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.154, allocations: 0 / 0.5886 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.018e-05/0.1541, allocations: 15.97 kB / 0.5886 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1541, allocations: 0 / 0.5886 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.1541, allocations: 8 kB / 0.5886 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1541, allocations: 0 / 0.5886 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.1541, allocations: 3.938 kB / 0.5886 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003311/0.1545, allocations: 203.4 kB / 0.5888 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.163e-05/0.1545, allocations: 85.02 kB / 0.5889 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.1545, allocations: 4 kB / 0.5889 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.1546, allocations: 7.984 kB / 0.5889 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-05/0.1547, allocations: 11.98 kB / 0.5889 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.1547, allocations: 0 / 0.5889 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.056e-05/0.1547, allocations: 95.27 kB / 0.589 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1547, allocations: 0 / 0.589 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002154/0.155, allocations: 12 kB / 0.589 GB, free: 15.27 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.0005722/0.1555, allocations: 0.7552 MB / 0.5898 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003077/0.1559, allocations: 83.91 kB / 0.5898 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1559, allocations: 0 / 0.5898 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.156, allocations: 39.97 kB / 0.5899 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.1562, allocations: 14.81 kB / 0.5899 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004099/0.1567, allocations: 207 kB / 0.5901 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001943/0.1569, allocations: 0.6884 MB / 0.5908 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.697e-05/0.1569, allocations: 0 / 0.5908 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.959e-05/0.1569, allocations: 23.42 kB / 0.5908 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.1569, allocations: 0 / 0.5908 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8179/0.9749, allocations: 1.663 MB / 0.5924 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002626/0.9752, allocations: 180.4 kB / 0.5926 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.047/3.022, allocations: 0 / 0.5926 GB, free: 11.59 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_Biquadratic.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic.pipe 2>&1)