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.001358/0.001358, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.232/1.232, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6934/0.6934, allocations: 132.2 MB / 422.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 60.47 kB / 0.5019 GB, free: 8.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1352, allocations: 80.2 MB / 0.5802 GB, free: 8.691 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Biquadratic): time 0.002613/0.1379, allocations: 1.487 MB / 0.5816 GB, free: 7.188 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002715/0.1382, allocations: 100.5 kB / 0.5817 GB, free: 7.086 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.228e-05/0.1382, allocations: 0 / 0.5817 GB, free: 7.086 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.711e-05/0.1382, allocations: 7.922 kB / 0.5817 GB, free: 7.078 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.038e-05/0.1383, allocations: 11.92 kB / 0.5818 GB, free: 7.066 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001754/0.1385, allocations: 27.91 kB / 0.5818 GB, free: 7.039 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.558e-05/0.1386, allocations: 35.92 kB / 0.5818 GB, free: 7.004 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.946e-05/0.1386, allocations: 7.984 kB / 0.5818 GB, free: 6.996 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.113e-05/0.1387, allocations: 19.94 kB / 0.5818 GB, free: 6.977 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.004e-05/0.1387, allocations: 23.84 kB / 0.5819 GB, free: 6.953 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.1388, allocations: 4 kB / 0.5819 GB, free: 6.949 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.033e-05/0.1388, allocations: 19.98 kB / 0.5819 GB, free: 6.93 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.804e-05/0.1389, allocations: 27.84 kB / 0.5819 GB, free: 6.902 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.275e-05/0.1389, allocations: 19.88 kB / 0.5819 GB, free: 6.883 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.139, allocations: 51.88 kB / 0.582 GB, free: 6.832 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.139, allocations: 7.922 kB / 0.582 GB, free: 6.824 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.139, allocations: 0 / 0.582 GB, free: 6.824 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.1391, allocations: 0 / 0.582 GB, free: 6.824 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.0004914/0.1396, allocations: 371.5 kB / 0.5823 GB, free: 6.41 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.1396, allocations: 8.031 kB / 0.5824 GB, free: 6.402 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.333e-05/0.1396, allocations: 46.73 kB / 0.5824 GB, free: 6.348 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.475e-05/0.1397, allocations: 4.844 kB / 0.5824 GB, free: 6.344 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.1398, allocations: 176.3 kB / 0.5826 GB, free: 6.133 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.1398, allocations: 4.375 kB / 0.5826 GB, free: 6.129 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.1398, allocations: 384 / 0.5826 GB, free: 6.129 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002342/0.1401, allocations: 70.22 kB / 0.5826 GB, free: 6.055 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.1401, allocations: 7.922 kB / 0.5827 GB, free: 6.047 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.1401, allocations: 0 / 0.5827 GB, free: 6.047 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1401, allocations: 4 kB / 0.5827 GB, free: 6.043 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00029/0.1404, allocations: 83.86 kB / 0.5827 GB, free: 5.961 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003071/0.1407, allocations: 284.8 kB / 0.583 GB, free: 5.633 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002002/0.1409, allocations: 66.53 kB / 0.5831 GB, free: 5.559 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.1411, allocations: 48.91 kB / 0.5831 GB, free: 5.508 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002111/0.1413, allocations: 105.1 kB / 0.5832 GB, free: 5.387 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.1413, allocations: 42.5 kB / 0.5833 GB, free: 5.336 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.041e-06/0.1413, allocations: 0 / 0.5833 GB, free: 5.336 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005263/0.1419, allocations: 141.6 kB / 0.5834 GB, free: 5.191 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.1419, allocations: 51.41 kB / 0.5834 GB, free: 5.129 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.652e-05/0.142, allocations: 129.7 kB / 0.5836 GB, free: 4.992 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.142, allocations: 29.7 kB / 0.5836 GB, free: 4.957 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.395e-05/0.1421, allocations: 93.91 kB / 0.5837 GB, free: 4.863 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.1421, allocations: 7.891 kB / 0.5837 GB, free: 4.855 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-05/0.1421, allocations: 17.72 kB / 0.5837 GB, free: 4.832 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.1422, allocations: 314.8 kB / 0.584 GB, free: 4.516 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.1424, allocations: 39.95 kB / 0.584 GB, free: 4.477 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.1425, allocations: 39.91 kB / 0.5841 GB, free: 4.438 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002652/0.1428, allocations: 84.7 kB / 0.5842 GB, free: 4.352 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1428, allocations: 0 / 0.5842 GB, free: 4.352 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003187/0.1431, allocations: 113.5 kB / 0.5843 GB, free: 4.234 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.1432, allocations: 4 kB / 0.5843 GB, free: 4.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1432, allocations: 3.938 kB / 0.5843 GB, free: 4.227 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.1432, allocations: 3.938 kB / 0.5843 GB, free: 4.223 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.1433, allocations: 19.97 kB / 0.5843 GB, free: 4.203 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.1433, allocations: 0 / 0.5843 GB, free: 4.203 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.229e-05/0.1434, allocations: 11.98 kB / 0.5843 GB, free: 4.191 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.1434, allocations: 4 kB / 0.5843 GB, free: 4.188 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 7.943e-05/0.1435, allocations: 126.4 kB / 0.5844 GB, free: 4.055 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.727e-05/0.1435, allocations: 7.906 kB / 0.5844 GB, free: 4.047 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000344/0.1439, allocations: 117.8 kB / 0.5846 GB, free: 3.922 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.1439, allocations: 4.031 kB / 0.5846 GB, free: 3.918 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.1439, allocations: 0 / 0.5846 GB, free: 3.918 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.1439, allocations: 4 kB / 0.5846 GB, free: 3.914 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.1441, allocations: 185.6 kB / 0.5847 GB, free: 3.684 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1441, allocations: 0 / 0.5847 GB, free: 3.684 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.96e-05/0.1442, allocations: 11.98 kB / 0.5848 GB, free: 3.672 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1442, allocations: 4 kB / 0.5848 GB, free: 3.668 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.1442, allocations: 0 / 0.5848 GB, free: 3.668 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1442, allocations: 0 / 0.5848 GB, free: 3.668 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1442, allocations: 3.984 kB / 0.5848 GB, free: 3.664 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003494/0.1445, allocations: 207.4 kB / 0.585 GB, free: 3.445 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.981e-05/0.1446, allocations: 85.02 kB / 0.585 GB, free: 3.344 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.1446, allocations: 3.984 kB / 0.585 GB, free: 3.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.1447, allocations: 11.98 kB / 0.5851 GB, free: 3.328 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.258e-05/0.1448, allocations: 4 kB / 0.5851 GB, free: 3.324 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.1448, allocations: 0 / 0.5851 GB, free: 3.324 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.308e-05/0.1448, allocations: 110.1 kB / 0.5852 GB, free: 3.219 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1448, allocations: 0 / 0.5852 GB, free: 3.219 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000217/0.1451, allocations: 12 kB / 0.5852 GB, free: 3.207 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.0006096/0.1457, allocations: 0.7435 MB / 0.5859 GB, free: 2.434 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003331/0.146, allocations: 79.92 kB / 0.586 GB, free: 2.355 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.146, allocations: 0 / 0.586 GB, free: 2.355 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.1462, allocations: 43.95 kB / 0.586 GB, free: 2.312 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.1464, allocations: 9.969 kB / 0.586 GB, free: 2.305 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004151/0.1468, allocations: 187 kB / 0.5862 GB, free: 2.082 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002223/0.1471, allocations: 0.6923 MB / 0.5869 GB, free: 1.363 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.706e-05/0.1471, allocations: 4 kB / 0.5869 GB, free: 1.359 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.633e-05/0.1471, allocations: 23.38 kB / 0.5869 GB, free: 1.336 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1471, allocations: 0 / 0.5869 GB, free: 1.336 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3611/0.5082, allocations: 1.824 MB / 0.5887 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10/10.51, allocations: 12.34 kB / 0.5887 GB, free: 15.57 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)