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.001004/0.001004, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001018/0.001018, allocations: 195.7 kB / 16.14 MB, free: 6.66 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.368/1.368, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8893/0.8893, allocations: 135.1 MB / 425.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 64.09 kB / 0.5048 GB, free: 5.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1921, allocations: 80.92 MB / 0.5838 GB, free: 4.918 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Biquadratic): time 0.003607/0.1957, allocations: 1.543 MB / 0.5853 GB, free: 3.355 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003495/0.1961, allocations: 108.5 kB / 0.5854 GB, free: 3.246 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.491e-05/0.1962, allocations: 0 / 0.5854 GB, free: 3.246 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.961e-05/0.1963, allocations: 3.938 kB / 0.5854 GB, free: 3.242 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.122e-05/0.1963, allocations: 11.92 kB / 0.5854 GB, free: 3.23 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001771/0.1965, allocations: 15.98 kB / 0.5855 GB, free: 3.215 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.247e-05/0.1966, allocations: 39.92 kB / 0.5855 GB, free: 3.176 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.679e-05/0.1967, allocations: 15.97 kB / 0.5855 GB, free: 3.16 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.179e-05/0.1968, allocations: 15.92 kB / 0.5855 GB, free: 3.145 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.333e-05/0.1969, allocations: 19.92 kB / 0.5855 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.1969, allocations: 4 kB / 0.5855 GB, free: 3.121 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.736e-05/0.197, allocations: 15.98 kB / 0.5856 GB, free: 3.105 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.899e-05/0.197, allocations: 23.86 kB / 0.5856 GB, free: 3.082 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.468e-05/0.1971, allocations: 15.88 kB / 0.5856 GB, free: 3.066 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001436/0.1972, allocations: 59.78 kB / 0.5857 GB, free: 3.008 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.1973, allocations: 0 / 0.5857 GB, free: 3.008 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1973, allocations: 0 / 0.5857 GB, free: 3.008 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.1973, allocations: 0 / 0.5857 GB, free: 3.008 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.0006878/0.198, allocations: 379.5 kB / 0.586 GB, free: 2.586 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.198, allocations: 8.031 kB / 0.586 GB, free: 2.578 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.977e-05/0.1981, allocations: 38.73 kB / 0.5861 GB, free: 2.531 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.439e-05/0.1981, allocations: 8.938 kB / 0.5861 GB, free: 2.523 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.1983, allocations: 168.3 kB / 0.5862 GB, free: 2.32 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-06/0.1983, allocations: 384 / 0.5862 GB, free: 2.32 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.1984, allocations: 4.375 kB / 0.5862 GB, free: 2.316 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003463/0.1987, allocations: 74.2 kB / 0.5863 GB, free: 2.238 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.1987, allocations: 3.938 kB / 0.5863 GB, free: 2.234 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.1988, allocations: 0 / 0.5863 GB, free: 2.234 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1988, allocations: 4 kB / 0.5863 GB, free: 2.23 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004781/0.1993, allocations: 75.86 kB / 0.5864 GB, free: 2.156 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004275/0.1997, allocations: 296.7 kB / 0.5867 GB, free: 1.816 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003076/0.2, allocations: 66.64 kB / 0.5867 GB, free: 1.742 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002579/0.2003, allocations: 48.81 kB / 0.5868 GB, free: 1.691 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003201/0.2006, allocations: 105.1 kB / 0.5869 GB, free: 1.57 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.2007, allocations: 38.5 kB / 0.5869 GB, free: 1.523 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.573e-06/0.2007, allocations: 0 / 0.5869 GB, free: 1.523 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0008497/0.2016, allocations: 149.5 kB / 0.5871 GB, free: 1.371 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.2016, allocations: 51.41 kB / 0.5871 GB, free: 1.309 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.2018, allocations: 133.8 kB / 0.5872 GB, free: 1.168 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.2018, allocations: 25.7 kB / 0.5873 GB, free: 1.137 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.106e-05/0.2019, allocations: 88.14 kB / 0.5873 GB, free: 1.047 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.2019, allocations: 11.89 kB / 0.5874 GB, free: 1.035 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.016e-05/0.202, allocations: 17.72 kB / 0.5874 GB, free: 1.012 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.2021, allocations: 310.8 kB / 0.5877 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002449/0.2023, allocations: 39.95 kB / 0.5877 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002234/0.2026, allocations: 47.89 kB / 0.5877 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004496/0.203, allocations: 76.72 kB / 0.5878 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2031, allocations: 0 / 0.5878 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005042/0.2036, allocations: 117.5 kB / 0.5879 GB, free: 424 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.2036, allocations: 7.938 kB / 0.5879 GB, free: 416 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2036, allocations: 0 / 0.5879 GB, free: 416 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.2036, allocations: 4 kB / 0.5879 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.2038, allocations: 19.97 kB / 0.588 GB, free: 392 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.2038, allocations: 0 / 0.588 GB, free: 392 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/0.204, allocations: 11.98 kB / 0.588 GB, free: 380 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.204, allocations: 0 / 0.588 GB, free: 380 kB / 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 0.0001032/0.2041, allocations: 125.7 kB / 0.5881 GB, free: 244 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.787e-05/0.2042, allocations: 11.89 kB / 0.5881 GB, free: 232 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005569/0.2047, allocations: 113.5 kB / 0.5882 GB, free: 104 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.2048, allocations: 0 / 0.5882 GB, free: 104 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2048, allocations: 0 / 0.5882 GB, free: 104 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.2048, allocations: 4 kB / 0.5882 GB, free: 100 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002767/0.2051, allocations: 189.6 kB / 0.5884 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2051, allocations: 0 / 0.5884 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.2052, allocations: 11.98 kB / 0.5884 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.2053, allocations: 0 / 0.5884 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.2053, allocations: 7.984 kB / 0.5884 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.2053, allocations: 0 / 0.5884 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.2053, allocations: 0 / 0.5884 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005878/0.2059, allocations: 207.7 kB / 0.5886 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.905e-05/0.206, allocations: 93.03 kB / 0.5887 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.206, allocations: 0 / 0.5887 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001796/0.2062, allocations: 7.984 kB / 0.5887 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.607e-05/0.2062, allocations: 4 kB / 0.5887 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.2063, allocations: 3.984 kB / 0.5887 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.908e-05/0.2064, allocations: 106 kB / 0.5888 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2064, allocations: 0 / 0.5888 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003728/0.2067, allocations: 16 kB / 0.5888 GB, free: 15.38 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.001015/0.2078, allocations: 0.7512 MB / 0.5896 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005145/0.2083, allocations: 71.92 kB / 0.5896 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2083, allocations: 0 / 0.5896 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002496/0.2086, allocations: 47.95 kB / 0.5897 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.209, allocations: 9.969 kB / 0.5897 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006678/0.2097, allocations: 204.8 kB / 0.5899 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005295/0.2102, allocations: 0.6887 MB / 0.5906 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.184e-05/0.2103, allocations: 4 kB / 0.5906 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.069e-05/0.2103, allocations: 19.42 kB / 0.5906 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of SimCode: time 3.3e-07/0.2103, allocations: 0 / 0.5906 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01524/0.2256, allocations: 1.604 MB / 0.5922 GB, free: 12 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000263/0.2259, allocations: 187.9 kB / 0.5923 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.655/1.881, allocations: 2.734 kB / 0.5923 GB, free: 11.75 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)