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.0007653/0.0007653, allocations: 90.75 kB / 15.36 MB, free: 0.7383 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.005221/0.005221, allocations: 173.2 kB / 16.26 MB, free: 6.613 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.41/1.41, 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-master/package.mo): time 0.8688/0.8688, allocations: 135.3 MB / 426.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003029/0.0003029, allocations: 15.97 kB / 0.5077 GB, free: 4.699 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1283, allocations: 82.31 MB / 0.5881 GB, free: 2.57 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Biquadratic): time 0.001241/0.1296, allocations: 1.196 MB / 0.5892 GB, free: 1.359 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002471/0.1298, allocations: 116.5 kB / 0.5894 GB, free: 1.242 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.999e-05/0.1299, allocations: 3.938 kB / 0.5894 GB, free: 1.238 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.192e-05/0.1299, allocations: 0 / 0.5894 GB, free: 1.238 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.638e-05/0.13, allocations: 11.94 kB / 0.5894 GB, free: 1.227 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001252/0.1301, allocations: 11.98 kB / 0.5894 GB, free: 1.215 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.926e-05/0.1302, allocations: 43.84 kB / 0.5894 GB, free: 1.172 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.73e-05/0.1302, allocations: 8 kB / 0.5894 GB, free: 1.164 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.486e-05/0.1303, allocations: 15.92 kB / 0.5894 GB, free: 1.148 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.691e-05/0.1303, allocations: 19.92 kB / 0.5895 GB, free: 1.129 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.1303, allocations: 0 / 0.5895 GB, free: 1.129 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.984e-05/0.1304, allocations: 19.98 kB / 0.5895 GB, free: 1.109 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.576e-05/0.1304, allocations: 19.91 kB / 0.5895 GB, free: 1.09 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.496e-05/0.1305, allocations: 45.56 kB / 0.5895 GB, free: 1.039 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.888e-05/0.1306, allocations: 47.81 kB / 0.5896 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.1306, allocations: 0 / 0.5896 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.1306, allocations: 0 / 0.5896 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.785e-06/0.1306, allocations: 4 kB / 0.5896 GB, free: 0.9883 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.0004096/0.131, allocations: 383.5 kB / 0.59 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.131, allocations: 8.031 kB / 0.59 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.716e-05/0.1311, allocations: 38.75 kB / 0.59 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.038e-05/0.1311, allocations: 4.844 kB / 0.59 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.35e-05/0.1312, allocations: 176.3 kB / 0.5902 GB, free: 300 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.873e-06/0.1312, allocations: 4.375 kB / 0.5902 GB, free: 296 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.365e-06/0.1312, allocations: 384 / 0.5902 GB, free: 296 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002295/0.1314, allocations: 90.16 kB / 0.5903 GB, free: 200 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.1315, allocations: 7.938 kB / 0.5903 GB, free: 192 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.1315, allocations: 0 / 0.5903 GB, free: 192 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.1315, allocations: 3.938 kB / 0.5903 GB, free: 188 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002992/0.1318, allocations: 103.9 kB / 0.5904 GB, free: 84 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002832/0.1321, allocations: 284.8 kB / 0.5907 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.1323, allocations: 78.47 kB / 0.5907 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.1324, allocations: 60.91 kB / 0.5908 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000169/0.1326, allocations: 101.1 kB / 0.5909 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/0.1327, allocations: 30.56 kB / 0.5909 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.1327, allocations: 0 / 0.5909 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005343/0.1332, allocations: 189.5 kB / 0.5911 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/0.1332, allocations: 51.41 kB / 0.5911 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.764e-05/0.1333, allocations: 129.2 kB / 0.5913 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.1333, allocations: 25.7 kB / 0.5913 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.736e-05/0.1334, allocations: 96.12 kB / 0.5914 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.389e-05/0.1334, allocations: 11.81 kB / 0.5914 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.998e-05/0.1334, allocations: 9.719 kB / 0.5914 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.551e-05/0.1335, allocations: 322.8 kB / 0.5917 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.1337, allocations: 43.97 kB / 0.5918 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.1338, allocations: 47.95 kB / 0.5918 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002793/0.1341, allocations: 113 kB / 0.5919 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.1341, allocations: 3.938 kB / 0.5919 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000324/0.1344, allocations: 133.6 kB / 0.592 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.1344, allocations: 4 kB / 0.592 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1344, allocations: 0 / 0.592 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.462e-06/0.1345, allocations: 7.938 kB / 0.592 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.1346, allocations: 19.98 kB / 0.5921 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1346, allocations: 4 kB / 0.5921 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.462e-05/0.1347, allocations: 11.98 kB / 0.5921 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.1347, allocations: 4 kB / 0.5921 GB, free: 14.19 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 6.33e-05/0.1347, allocations: 125.8 kB / 0.5922 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.1348, allocations: 3.906 kB / 0.5922 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003539/0.1351, allocations: 137.5 kB / 0.5923 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1351, allocations: 0 / 0.5923 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1352, allocations: 7.984 kB / 0.5923 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.1352, allocations: 0 / 0.5923 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.1353, allocations: 173.6 kB / 0.5925 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1353, allocations: 3.984 kB / 0.5925 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.566e-05/0.1354, allocations: 31.92 kB / 0.5925 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1354, allocations: 0 / 0.5925 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.1354, allocations: 4 kB / 0.5926 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1354, allocations: 0 / 0.5926 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1354, allocations: 0 / 0.5926 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003478/0.1358, allocations: 231.3 kB / 0.5928 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.672e-05/0.1358, allocations: 84.95 kB / 0.5929 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.1358, allocations: 4 kB / 0.5929 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.136, allocations: 19.98 kB / 0.5929 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.98e-05/0.136, allocations: 3.984 kB / 0.5929 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-06/0.136, allocations: 4 kB / 0.5929 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.813e-05/0.1361, allocations: 99.27 kB / 0.593 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1361, allocations: 4 kB / 0.593 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002049/0.1363, allocations: 8 kB / 0.593 GB, free: 13.15 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.0005608/0.1368, allocations: 0.767 MB / 0.5937 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000327/0.1372, allocations: 103.9 kB / 0.5938 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.1372, allocations: 0 / 0.5938 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001601/0.1373, allocations: 59.89 kB / 0.5939 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.1376, allocations: 14.06 kB / 0.5939 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003661/0.1379, allocations: 198.2 kB / 0.5941 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001724/0.1381, allocations: 0.6926 MB / 0.5948 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.502e-05/0.1382, allocations: 4.375 kB / 0.5948 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.489e-05/0.1382, allocations: 19.42 kB / 0.5948 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1382, allocations: 0 / 0.5948 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.071/2.209, allocations: 1.545 MB / 0.5963 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002431/2.209, allocations: 176.8 kB / 0.5965 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.61/3.819, allocations: 0 / 0.5965 GB, free: 9.543 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)