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.00112/0.00112, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001155/0.001155, allocations: 190.6 kB / 16.14 MB, free: 6.715 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.264/1.264, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6629/0.6629, allocations: 132.2 MB / 422.1 MB, free: 2.023 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001056/0.001056, allocations: 64.22 kB / 0.5012 GB, free: 9.094 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1236, allocations: 80.21 MB / 0.5795 GB, free: 9.105 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Biquadratic): time 0.002198/0.1258, allocations: 1.551 MB / 0.581 GB, free: 7.539 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002495/0.1261, allocations: 108.6 kB / 0.5811 GB, free: 7.43 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.221e-05/0.1261, allocations: 0 / 0.5811 GB, free: 7.43 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.818e-05/0.1262, allocations: 3.938 kB / 0.5811 GB, free: 7.426 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.141e-05/0.1262, allocations: 7.922 kB / 0.5811 GB, free: 7.418 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001276/0.1263, allocations: 15.98 kB / 0.5811 GB, free: 7.402 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.236e-05/0.1264, allocations: 43.91 kB / 0.5812 GB, free: 7.359 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.681e-05/0.1265, allocations: 8 kB / 0.5812 GB, free: 7.352 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.44e-05/0.1265, allocations: 15.92 kB / 0.5812 GB, free: 7.336 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.641e-05/0.1266, allocations: 19.92 kB / 0.5812 GB, free: 7.316 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.1266, allocations: 0 / 0.5812 GB, free: 7.316 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.174e-05/0.1266, allocations: 23.92 kB / 0.5813 GB, free: 7.293 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.843e-05/0.1267, allocations: 19.91 kB / 0.5813 GB, free: 7.273 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.675e-05/0.1267, allocations: 19.86 kB / 0.5813 GB, free: 7.254 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.141e-05/0.1268, allocations: 55.81 kB / 0.5813 GB, free: 7.199 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.1268, allocations: 7.938 kB / 0.5813 GB, free: 7.191 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.21e-07/0.1268, allocations: 0 / 0.5813 GB, free: 7.191 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.855e-06/0.1268, allocations: 0 / 0.5813 GB, free: 7.191 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.0004302/0.1273, allocations: 379.4 kB / 0.5817 GB, free: 6.77 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.1273, allocations: 8.031 kB / 0.5817 GB, free: 6.762 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.867e-05/0.1273, allocations: 34.75 kB / 0.5818 GB, free: 6.719 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.787e-05/0.1274, allocations: 4.938 kB / 0.5818 GB, free: 6.715 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.875e-05/0.1275, allocations: 176.2 kB / 0.5819 GB, free: 6.504 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.151e-06/0.1275, allocations: 4.375 kB / 0.5819 GB, free: 6.5 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/0.1275, allocations: 4.375 kB / 0.5819 GB, free: 6.496 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002205/0.1277, allocations: 74.2 kB / 0.582 GB, free: 6.418 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.1277, allocations: 7.875 kB / 0.582 GB, free: 6.41 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.1277, allocations: 0 / 0.582 GB, free: 6.41 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-06/0.1278, allocations: 0 / 0.582 GB, free: 6.41 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000267/0.128, allocations: 79.92 kB / 0.5821 GB, free: 6.332 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002902/0.1283, allocations: 288.8 kB / 0.5824 GB, free: 6 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/0.1285, allocations: 70.52 kB / 0.5824 GB, free: 5.922 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/0.1287, allocations: 40.92 kB / 0.5825 GB, free: 5.879 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001922/0.1289, allocations: 113 kB / 0.5826 GB, free: 5.75 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.1289, allocations: 30.56 kB / 0.5826 GB, free: 5.711 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.1289, allocations: 0 / 0.5826 GB, free: 5.711 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004844/0.1294, allocations: 153.5 kB / 0.5828 GB, free: 5.555 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.1294, allocations: 55.39 kB / 0.5828 GB, free: 5.488 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.808e-05/0.1295, allocations: 124.5 kB / 0.5829 GB, free: 5.359 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.1295, allocations: 29.7 kB / 0.583 GB, free: 5.324 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.661e-05/0.1296, allocations: 88.12 kB / 0.583 GB, free: 5.234 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.72e-05/0.1296, allocations: 19.84 kB / 0.5831 GB, free: 5.215 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.709e-05/0.1296, allocations: 9.719 kB / 0.5831 GB, free: 5.199 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.68e-05/0.1297, allocations: 322.8 kB / 0.5834 GB, free: 4.875 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.1299, allocations: 31.97 kB / 0.5834 GB, free: 4.844 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.13, allocations: 43.89 kB / 0.5834 GB, free: 4.801 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002434/0.1303, allocations: 80.72 kB / 0.5835 GB, free: 4.719 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.1303, allocations: 0 / 0.5835 GB, free: 4.719 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002965/0.1306, allocations: 113.5 kB / 0.5836 GB, free: 4.602 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.177e-06/0.1306, allocations: 8 kB / 0.5836 GB, free: 4.594 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-06/0.1306, allocations: 4 kB / 0.5836 GB, free: 4.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.194e-06/0.1306, allocations: 0 / 0.5836 GB, free: 4.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.1307, allocations: 15.98 kB / 0.5837 GB, free: 4.574 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.1307, allocations: 0 / 0.5837 GB, free: 4.574 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.847e-05/0.1308, allocations: 7.984 kB / 0.5837 GB, free: 4.566 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.1308, allocations: 4 kB / 0.5837 GB, free: 4.562 MB / 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.759e-05/0.1309, allocations: 126.4 kB / 0.5838 GB, free: 4.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.5e-05/0.1309, allocations: 7.844 kB / 0.5838 GB, free: 4.422 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003357/0.1313, allocations: 121.5 kB / 0.5839 GB, free: 4.293 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.1313, allocations: 4 kB / 0.5839 GB, free: 4.289 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/0.1313, allocations: 0 / 0.5839 GB, free: 4.289 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1313, allocations: 7.984 kB / 0.5839 GB, free: 4.281 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.1314, allocations: 173.6 kB / 0.5841 GB, free: 4.062 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1314, allocations: 0 / 0.5841 GB, free: 4.062 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.993e-05/0.1315, allocations: 23.97 kB / 0.5841 GB, free: 4.039 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.1315, allocations: 0 / 0.5841 GB, free: 4.039 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.1316, allocations: 0 / 0.5841 GB, free: 4.039 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.1316, allocations: 4 kB / 0.5841 GB, free: 4.035 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.1316, allocations: 0 / 0.5841 GB, free: 4.035 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003262/0.1319, allocations: 215.6 kB / 0.5843 GB, free: 3.809 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.96e-05/0.1319, allocations: 77.11 kB / 0.5844 GB, free: 3.715 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.132, allocations: 4.047 kB / 0.5844 GB, free: 3.711 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.1321, allocations: 15.97 kB / 0.5844 GB, free: 3.695 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.162e-05/0.1321, allocations: 7.984 kB / 0.5844 GB, free: 3.688 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.1321, allocations: 0 / 0.5844 GB, free: 3.688 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.371e-05/0.1322, allocations: 95.27 kB / 0.5845 GB, free: 3.594 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.583e-06/0.1322, allocations: 0 / 0.5845 GB, free: 3.594 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002087/0.1324, allocations: 19.94 kB / 0.5845 GB, free: 3.574 MB / 494.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.0005551/0.1329, allocations: 0.7435 MB / 0.5853 GB, free: 2.801 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002874/0.1332, allocations: 83.91 kB / 0.5853 GB, free: 2.719 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1333, allocations: 4 kB / 0.5853 GB, free: 2.715 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.1334, allocations: 35.97 kB / 0.5854 GB, free: 2.68 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.1336, allocations: 11.92 kB / 0.5854 GB, free: 2.668 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003876/0.134, allocations: 200.9 kB / 0.5856 GB, free: 2.434 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002035/0.1342, allocations: 0.6848 MB / 0.5862 GB, free: 1.723 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.738e-05/0.1343, allocations: 3.984 kB / 0.5863 GB, free: 1.719 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.301e-05/0.1343, allocations: 15.44 kB / 0.5863 GB, free: 1.703 MB / 494.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1343, allocations: 4 kB / 0.5863 GB, free: 1.699 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1975/0.3318, allocations: 1.594 MB / 0.5878 GB, free: 208 kB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002244/0.3321, allocations: 183.8 kB / 0.588 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.05/2.382, allocations: 0 / 0.588 GB, free: 15.95 MB / 0.4981 GB (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)