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.0008429/0.000843, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005226/0.005226, allocations: 169 kB / 16.26 MB, free: 6.652 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.219/1.219, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6898/0.6898, allocations: 132.3 MB / 423.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003272/0.0003272, allocations: 12.53 kB / 0.5041 GB, free: 3.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.339, allocations: 81.56 MB / 0.5837 GB, free: 4.07 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Biquadratic): time 0.001313/0.3403, allocations: 1.208 MB / 0.5849 GB, free: 3.188 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002734/0.3406, allocations: 108.8 kB / 0.585 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.282e-05/0.3407, allocations: 0.625 kB / 0.585 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.632e-05/0.3407, allocations: 6.484 kB / 0.585 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.141e-05/0.3407, allocations: 10.52 kB / 0.585 GB, free: 3.102 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001368/0.3409, allocations: 16.92 kB / 0.5851 GB, free: 3.094 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.604e-05/0.341, allocations: 39.94 kB / 0.5851 GB, free: 3.078 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.711e-05/0.341, allocations: 8.875 kB / 0.5851 GB, free: 3.074 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.2e-05/0.3411, allocations: 17.86 kB / 0.5851 GB, free: 3.066 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.174e-05/0.3411, allocations: 22.16 kB / 0.5851 GB, free: 3.055 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.3412, allocations: 2.5 kB / 0.5851 GB, free: 3.055 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.381e-05/0.3412, allocations: 21.48 kB / 0.5852 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.021e-05/0.3413, allocations: 18 kB / 0.5852 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.133e-05/0.3413, allocations: 44.45 kB / 0.5852 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.89e-05/0.3414, allocations: 44.62 kB / 0.5853 GB, free: 2.98 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3414, allocations: 8.609 kB / 0.5853 GB, free: 2.973 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3414, allocations: 5.219 kB / 0.5853 GB, free: 2.969 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.896e-06/0.3414, allocations: 0 / 0.5853 GB, free: 2.969 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.0003921/0.3418, allocations: 376.7 kB / 0.5856 GB, free: 2.598 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.3419, allocations: 9.953 kB / 0.5856 GB, free: 2.598 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.337e-05/0.3419, allocations: 36.16 kB / 0.5857 GB, free: 2.555 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.177e-05/0.3419, allocations: 8.406 kB / 0.5857 GB, free: 2.551 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.984e-05/0.342, allocations: 179.1 kB / 0.5859 GB, free: 2.344 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.582e-06/0.342, allocations: 384 / 0.5859 GB, free: 2.344 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.342, allocations: 2.312 kB / 0.5859 GB, free: 2.344 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002438/0.3423, allocations: 91.14 kB / 0.586 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.3423, allocations: 5.156 kB / 0.586 GB, free: 2.293 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.3423, allocations: 4 kB / 0.586 GB, free: 2.289 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.3423, allocations: 1.281 kB / 0.586 GB, free: 2.289 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000318/0.3426, allocations: 94.34 kB / 0.5861 GB, free: 2.277 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002725/0.3429, allocations: 284.4 kB / 0.5863 GB, free: 1.992 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002101/0.3431, allocations: 79.03 kB / 0.5864 GB, free: 1.957 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.3433, allocations: 58.83 kB / 0.5865 GB, free: 1.938 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001749/0.3435, allocations: 104.2 kB / 0.5866 GB, free: 1.844 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.393e-05/0.3435, allocations: 31.27 kB / 0.5866 GB, free: 1.805 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.3435, allocations: 0 / 0.5866 GB, free: 1.805 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005756/0.3441, allocations: 185.3 kB / 0.5868 GB, free: 1.746 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.933e-05/0.3441, allocations: 51.97 kB / 0.5868 GB, free: 1.684 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.085e-05/0.3442, allocations: 135 kB / 0.5869 GB, free: 1.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.535e-06/0.3442, allocations: 26.36 kB / 0.587 GB, free: 1.539 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.902e-05/0.3443, allocations: 88.61 kB / 0.587 GB, free: 1.453 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.3443, allocations: 15 kB / 0.5871 GB, free: 1.441 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.896e-05/0.3443, allocations: 10.56 kB / 0.5871 GB, free: 1.426 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.899e-05/0.3444, allocations: 319 kB / 0.5874 GB, free: 1.109 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.3445, allocations: 52.83 kB / 0.5874 GB, free: 1.098 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.3447, allocations: 49.48 kB / 0.5875 GB, free: 1.09 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002943/0.345, allocations: 108.1 kB / 0.5876 GB, free: 1.062 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.345, allocations: 0 / 0.5876 GB, free: 1.062 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003411/0.3453, allocations: 131.7 kB / 0.5877 GB, free: 1.016 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.3454, allocations: 6.297 kB / 0.5877 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-06/0.3454, allocations: 0 / 0.5877 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.3454, allocations: 4.781 kB / 0.5877 GB, free: 1.012 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.3455, allocations: 24.91 kB / 0.5877 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.3455, allocations: 11.88 kB / 0.5877 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.149e-05/0.3456, allocations: 21.44 kB / 0.5878 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.3456, allocations: 0.5938 kB / 0.5878 GB, free: 0.9922 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 4.967e-05/0.3457, allocations: 120.8 kB / 0.5879 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.3457, allocations: 6.516 kB / 0.5879 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003794/0.3461, allocations: 139.5 kB / 0.588 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.3461, allocations: 4.594 kB / 0.588 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3461, allocations: 0 / 0.588 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.3461, allocations: 1.234 kB / 0.588 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.3463, allocations: 183.8 kB / 0.5882 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3463, allocations: 0.5938 kB / 0.5882 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.616e-05/0.3464, allocations: 20.53 kB / 0.5882 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3464, allocations: 0.7031 kB / 0.5882 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.3464, allocations: 1.5 kB / 0.5882 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.3464, allocations: 3.938 kB / 0.5882 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3464, allocations: 4.75 kB / 0.5882 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003553/0.3468, allocations: 231.7 kB / 0.5885 GB, free: 456 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.722e-05/0.3468, allocations: 84 kB / 0.5885 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.3468, allocations: 0.5625 kB / 0.5885 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.3469, allocations: 17.41 kB / 0.5886 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.898e-05/0.347, allocations: 11.47 kB / 0.5886 GB, free: 348 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.347, allocations: 1 kB / 0.5886 GB, free: 348 kB / 430.1 MB Notification: Performance of sorting global known variables: time 4.277e-05/0.347, allocations: 97.09 kB / 0.5887 GB, free: 268 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.347, allocations: 0 / 0.5887 GB, free: 268 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002224/0.3473, allocations: 9.438 kB / 0.5887 GB, free: 268 kB / 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.0005994/0.3479, allocations: 0.766 MB / 0.5894 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003726/0.3483, allocations: 104 kB / 0.5895 GB, free: 15.56 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.3483, allocations: 0 / 0.5895 GB, free: 15.56 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001747/0.3484, allocations: 53.23 kB / 0.5896 GB, free: 15.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002342/0.3487, allocations: 9.953 kB / 0.5896 GB, free: 15.55 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004437/0.3491, allocations: 212.9 kB / 0.5898 GB, free: 15.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001921/0.3493, allocations: 0.6863 MB / 0.5904 GB, free: 14.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.675e-05/0.3494, allocations: 1.906 kB / 0.5904 GB, free: 14.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.532e-05/0.3494, allocations: 14.42 kB / 0.5905 GB, free: 14.65 MB / 446.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3494, allocations: 1.125 kB / 0.5905 GB, free: 14.65 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1432/0.4926, allocations: 1.545 MB / 0.592 GB, free: 14.46 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001872/0.4929, allocations: 177.5 kB / 0.5921 GB, free: 14.21 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.674/2.167, allocations: 0 / 0.5921 GB, free: 14.21 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/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)