Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Biquadratic,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Biquadratic,fileNamePrefix="IDEAS_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.002137/0.002137, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.002278/0.002278, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.631/2.631, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.436/1.436, allocations: 132.2 MB / 423.2 MB, free: 2.203 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005764/0.0005764, allocations: 19.94 kB / 0.5033 GB, free: 4.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7361/0.7367, allocations: 81.57 MB / 0.583 GB, free: 4.262 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Biquadratic): time 0.002843/0.7396, allocations: 1.188 MB / 0.5841 GB, free: 3.395 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004096/0.7401, allocations: 101.6 kB / 0.5842 GB, free: 3.324 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.644e-05/0.7402, allocations: 0.7188 kB / 0.5842 GB, free: 3.324 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.463e-05/0.7402, allocations: 1.531 kB / 0.5842 GB, free: 3.324 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.851e-05/0.7403, allocations: 18.83 kB / 0.5842 GB, free: 3.309 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002405/0.7406, allocations: 17.7 kB / 0.5843 GB, free: 3.301 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.7407, allocations: 20.3 kB / 0.5843 GB, free: 3.293 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.7409, allocations: 14.45 kB / 0.5843 GB, free: 3.285 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.426e-05/0.7409, allocations: 14.12 kB / 0.5843 GB, free: 3.281 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.365e-05/0.741, allocations: 18.45 kB / 0.5843 GB, free: 3.273 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.186e-05/0.7411, allocations: 1.969 kB / 0.5843 GB, free: 3.273 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.39e-05/0.7412, allocations: 20.72 kB / 0.5843 GB, free: 3.266 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.521e-05/0.7413, allocations: 10.53 kB / 0.5844 GB, free: 3.262 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.228e-05/0.7413, allocations: 32.72 kB / 0.5844 GB, free: 3.227 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001628/0.7415, allocations: 39.61 kB / 0.5844 GB, free: 3.215 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.7415, allocations: 0 / 0.5844 GB, free: 3.215 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.7415, allocations: 0.6562 kB / 0.5844 GB, free: 3.215 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.7415, allocations: 0 / 0.5844 GB, free: 3.215 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.0006985/0.7422, allocations: 384 kB / 0.5848 GB, free: 2.844 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.745e-05/0.7423, allocations: 9.375 kB / 0.5848 GB, free: 2.844 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.388e-05/0.7424, allocations: 39.61 kB / 0.5848 GB, free: 2.797 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.921e-05/0.7424, allocations: 7.703 kB / 0.5848 GB, free: 2.793 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.7426, allocations: 172.2 kB / 0.585 GB, free: 2.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.7426, allocations: 1.766 kB / 0.585 GB, free: 2.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.7426, allocations: 6.031 kB / 0.585 GB, free: 2.586 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004266/0.7431, allocations: 85.95 kB / 0.5851 GB, free: 2.543 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.7431, allocations: 3.984 kB / 0.5851 GB, free: 2.539 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.7431, allocations: 1.281 kB / 0.5851 GB, free: 2.539 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.7431, allocations: 0 / 0.5851 GB, free: 2.539 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006388/0.7438, allocations: 100.3 kB / 0.5852 GB, free: 2.523 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005927/0.7444, allocations: 290.8 kB / 0.5855 GB, free: 2.23 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000439/0.7448, allocations: 78.61 kB / 0.5856 GB, free: 2.195 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004168/0.7453, allocations: 111.6 kB / 0.5857 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.7453, allocations: 32 kB / 0.5857 GB, free: 2.055 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.773e-06/0.7453, allocations: 0 / 0.5857 GB, free: 2.055 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.001193/0.7466, allocations: 180.3 kB / 0.5859 GB, free: 2 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/0.7466, allocations: 57.2 kB / 0.5859 GB, free: 1.934 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.7468, allocations: 135.5 kB / 0.586 GB, free: 1.816 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.7469, allocations: 25.7 kB / 0.5861 GB, free: 1.785 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.303e-05/0.747, allocations: 92.97 kB / 0.5862 GB, free: 1.695 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.146e-05/0.747, allocations: 6.375 kB / 0.5862 GB, free: 1.691 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.444e-06/0.747, allocations: 0 / 0.5862 GB, free: 1.691 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.71e-05/0.7471, allocations: 318.9 kB / 0.5865 GB, free: 1.375 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003272/0.7475, allocations: 49.89 kB / 0.5865 GB, free: 1.367 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003145/0.7478, allocations: 45.36 kB / 0.5866 GB, free: 1.363 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003216/0.7481, allocations: 49.08 kB / 0.5866 GB, free: 1.355 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.7482, allocations: 0 / 0.5866 GB, free: 1.355 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000742/0.7489, allocations: 136 kB / 0.5867 GB, free: 1.305 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.195e-05/0.749, allocations: 5.656 kB / 0.5867 GB, free: 1.305 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.749, allocations: 0 / 0.5867 GB, free: 1.305 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.749, allocations: 1.828 kB / 0.5867 GB, free: 1.305 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002833/0.7493, allocations: 23.75 kB / 0.5868 GB, free: 1.301 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.7494, allocations: 0.5938 kB / 0.5868 GB, free: 1.301 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001766/0.7495, allocations: 27.81 kB / 0.5868 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.7496, allocations: 3.078 kB / 0.5868 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001293/0.7497, allocations: 119 kB / 0.5869 GB, free: 1.168 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.325e-05/0.7498, allocations: 6.656 kB / 0.5869 GB, free: 1.164 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007892/0.7506, allocations: 138.3 kB / 0.5871 GB, free: 1.109 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.7506, allocations: 0.7188 kB / 0.5871 GB, free: 1.109 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.7506, allocations: 0.6562 kB / 0.5871 GB, free: 1.109 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.7506, allocations: 0.7969 kB / 0.5871 GB, free: 1.109 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002864/0.7509, allocations: 183.8 kB / 0.5872 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.751, allocations: 3.938 kB / 0.5872 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002/0.7512, allocations: 25.22 kB / 0.5873 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/0.7512, allocations: 4 kB / 0.5873 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.7512, allocations: 1.438 kB / 0.5873 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.7512, allocations: 4.594 kB / 0.5873 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.7513, allocations: 3.938 kB / 0.5873 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007341/0.752, allocations: 232.2 kB / 0.5875 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.719e-05/0.7521, allocations: 83.59 kB / 0.5876 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.7521, allocations: 0.6875 kB / 0.5876 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002254/0.7523, allocations: 21.55 kB / 0.5876 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.587e-05/0.7524, allocations: 7.344 kB / 0.5876 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.7524, allocations: 1.562 kB / 0.5876 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001078/0.7526, allocations: 102.7 kB / 0.5877 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.7526, allocations: 0 / 0.5877 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000487/0.7531, allocations: 9.922 kB / 0.5877 GB, free: 0.5469 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001163/0.7542, allocations: 0.7738 MB / 0.5885 GB, free: 15.85 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007165/0.755, allocations: 98.86 kB / 0.5886 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.755, allocations: 0 / 0.5886 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003605/0.7554, allocations: 57.88 kB / 0.5886 GB, free: 15.83 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.7557, allocations: 3.672 kB / 0.5886 GB, free: 15.83 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008901/0.7566, allocations: 191.3 kB / 0.5888 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004744/0.7571, allocations: 0.6937 MB / 0.5895 GB, free: 14.96 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.255e-05/0.7572, allocations: 5.938 kB / 0.5895 GB, free: 14.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.739e-05/0.7573, allocations: 14.89 kB / 0.5895 GB, free: 14.94 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.7573, allocations: 0 / 0.5895 GB, free: 14.94 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0212/0.7785, allocations: 1.506 MB / 0.591 GB, free: 14.78 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003375/0.7789, allocations: 163.3 kB / 0.5911 GB, free: 14.54 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.677/3.456, allocations: 7.938 kB / 0.5911 GB, free: 14.54 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Biquadratic.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Biquadratic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_Biquadratic.fmu > IDEAS_IDEAS.Utilities.Math.Examples.Biquadratic.pipe 2>&1) Environment - environmentSimulation: