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.0009164/0.0009164, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.0009311/0.0009311, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.178/1.178, allocations: 223.2 MB / 239.9 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.12/1.12, allocations: 135.2 MB / 426.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005203/0.0005204, allocations: 12 kB / 0.5069 GB, free: 5.184 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2213, allocations: 82.31 MB / 0.5873 GB, free: 3.047 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Biquadratic): time 0.002191/0.2236, allocations: 1.191 MB / 0.5884 GB, free: 1.844 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003189/0.2239, allocations: 100.6 kB / 0.5885 GB, free: 1.742 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.099e-05/0.2239, allocations: 0 / 0.5885 GB, free: 1.742 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.484e-05/0.224, allocations: 7.984 kB / 0.5885 GB, free: 1.734 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.357e-05/0.2241, allocations: 11.94 kB / 0.5886 GB, free: 1.723 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001769/0.2243, allocations: 15.97 kB / 0.5886 GB, free: 1.707 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.26e-05/0.2244, allocations: 23.97 kB / 0.5886 GB, free: 1.684 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.621e-05/0.2245, allocations: 11.98 kB / 0.5886 GB, free: 1.672 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.535e-05/0.2245, allocations: 11.94 kB / 0.5886 GB, free: 1.66 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.915e-05/0.2246, allocations: 19.91 kB / 0.5886 GB, free: 1.641 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.2246, allocations: 4 kB / 0.5886 GB, free: 1.637 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.017e-05/0.2247, allocations: 15.98 kB / 0.5887 GB, free: 1.621 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.877e-05/0.2248, allocations: 15.98 kB / 0.5887 GB, free: 1.605 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.221e-05/0.2248, allocations: 41.56 kB / 0.5887 GB, free: 1.559 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001022/0.2249, allocations: 31.94 kB / 0.5887 GB, free: 1.527 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.225, allocations: 0 / 0.5887 GB, free: 1.527 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.225, allocations: 0 / 0.5887 GB, free: 1.527 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.225, allocations: 0 / 0.5887 GB, free: 1.527 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.0006785/0.2257, allocations: 383.4 kB / 0.5891 GB, free: 1.105 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/0.2257, allocations: 12.03 kB / 0.5891 GB, free: 1.094 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.33e-05/0.2258, allocations: 34.56 kB / 0.5891 GB, free: 1.051 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.676e-05/0.2258, allocations: 7.906 kB / 0.5892 GB, free: 1.043 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.226, allocations: 171 kB / 0.5893 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.226, allocations: 0 / 0.5893 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.2261, allocations: 3.938 kB / 0.5893 GB, free: 0.832 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004039/0.2265, allocations: 85.66 kB / 0.5894 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.2265, allocations: 0 / 0.5894 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.2265, allocations: 0 / 0.5894 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.2265, allocations: 0 / 0.5894 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005257/0.2271, allocations: 107.8 kB / 0.5895 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004858/0.2276, allocations: 288.8 kB / 0.5898 GB, free: 312 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003365/0.2279, allocations: 82.47 kB / 0.5899 GB, free: 220 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003041/0.2283, allocations: 109.2 kB / 0.59 GB, free: 92 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.2283, allocations: 34.56 kB / 0.59 GB, free: 48 kB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.684e-06/0.2283, allocations: 0 / 0.59 GB, free: 48 kB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.001008/0.2293, allocations: 173.6 kB / 0.5902 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.2294, allocations: 55.41 kB / 0.5902 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.2296, allocations: 140.2 kB / 0.5904 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.2296, allocations: 25.7 kB / 0.5904 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.523e-05/0.2297, allocations: 92.14 kB / 0.5905 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.2297, allocations: 7.891 kB / 0.5905 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.641e-06/0.2297, allocations: 0 / 0.5905 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.2299, allocations: 322.8 kB / 0.5908 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002603/0.2302, allocations: 47.95 kB / 0.5908 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002459/0.2304, allocations: 43.97 kB / 0.5909 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002669/0.2307, allocations: 51.95 kB / 0.5909 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2307, allocations: 0 / 0.5909 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006411/0.2314, allocations: 137.5 kB / 0.591 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.2314, allocations: 4 kB / 0.5911 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.2314, allocations: 0 / 0.5911 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.2315, allocations: 0 / 0.5911 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.2317, allocations: 23.98 kB / 0.5911 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.2317, allocations: 7.922 kB / 0.5911 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001509/0.2319, allocations: 15.98 kB / 0.5911 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.2319, allocations: 4 kB / 0.5911 GB, free: 14.87 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001238/0.232, allocations: 125.7 kB / 0.5912 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.763e-05/0.2321, allocations: 3.906 kB / 0.5912 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006741/0.2328, allocations: 141.8 kB / 0.5914 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.2328, allocations: 0 / 0.5914 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.2328, allocations: 4 kB / 0.5914 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.2328, allocations: 48 / 0.5914 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002848/0.2331, allocations: 189.6 kB / 0.5915 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.2332, allocations: 0 / 0.5915 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/0.2333, allocations: 23.97 kB / 0.5916 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.2334, allocations: 0 / 0.5916 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.2334, allocations: 7.938 kB / 0.5916 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.2334, allocations: 3.938 kB / 0.5916 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.2334, allocations: 4 kB / 0.5916 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006046/0.234, allocations: 227.4 kB / 0.5918 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.269e-05/0.2341, allocations: 81.02 kB / 0.5919 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.2341, allocations: 0 / 0.5919 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.2343, allocations: 19.98 kB / 0.5919 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.226e-05/0.2344, allocations: 7.984 kB / 0.5919 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.2344, allocations: 4 kB / 0.5919 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.338e-05/0.2345, allocations: 95.27 kB / 0.592 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2345, allocations: 0 / 0.592 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004504/0.235, allocations: 8 kB / 0.592 GB, free: 13.83 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001011/0.236, allocations: 0.7708 MB / 0.5928 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005999/0.2366, allocations: 103.9 kB / 0.5929 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2366, allocations: 0 / 0.5929 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002646/0.2369, allocations: 47.97 kB / 0.5929 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.2372, allocations: 15.86 kB / 0.5929 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007209/0.2379, allocations: 194.3 kB / 0.5931 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/0.2383, allocations: 0.6926 MB / 0.5938 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.786e-05/0.2384, allocations: 4 kB / 0.5938 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.639e-05/0.2385, allocations: 15.44 kB / 0.5938 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of SimCode: time 4.81e-07/0.2385, allocations: 0 / 0.5938 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01707/0.2556, allocations: 1.514 MB / 0.5953 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00028/0.2559, allocations: 176.8 kB / 0.5954 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.735/1.99, allocations: 4 kB / 0.5954 GB, free: 10.27 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/linux/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) Environment - environmentSimulation: