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.0007761/0.0007761, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008115/0.0008115, allocations: 172.7 kB / 15.95 MB, free: 208 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.315/1.315, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7297/0.7297, allocations: 132.3 MB / 423.4 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000383/0.0003831, allocations: 12 kB / 0.5035 GB, free: 4.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.423/0.4234, allocations: 81.57 MB / 0.5831 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Biquadratic): time 0.00143/0.4249, allocations: 1.196 MB / 0.5843 GB, free: 3.125 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002375/0.4251, allocations: 105.1 kB / 0.5844 GB, free: 3.055 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.941e-05/0.4252, allocations: 0 / 0.5844 GB, free: 3.055 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.623e-05/0.4252, allocations: 5.297 kB / 0.5844 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.985e-05/0.4253, allocations: 6.469 kB / 0.5844 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001615/0.4254, allocations: 13.89 kB / 0.5844 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.807e-05/0.4255, allocations: 47.41 kB / 0.5845 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.098e-05/0.4256, allocations: 5.922 kB / 0.5845 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.697e-05/0.4256, allocations: 14.02 kB / 0.5845 GB, free: 3.012 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.664e-05/0.4257, allocations: 23.81 kB / 0.5845 GB, free: 3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.4257, allocations: 2 kB / 0.5845 GB, free: 3 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.988e-05/0.4258, allocations: 17.17 kB / 0.5845 GB, free: 2.996 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.285e-05/0.4258, allocations: 10.44 kB / 0.5846 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.94e-05/0.4258, allocations: 31.95 kB / 0.5846 GB, free: 2.957 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.288e-05/0.4259, allocations: 36.39 kB / 0.5846 GB, free: 2.949 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.426, allocations: 4 kB / 0.5846 GB, free: 2.945 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.426, allocations: 1 kB / 0.5846 GB, free: 2.945 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.397e-06/0.426, allocations: 0 / 0.5846 GB, free: 2.945 MB / 430.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.0004119/0.4264, allocations: 382.7 kB / 0.585 GB, free: 2.574 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.4264, allocations: 13.91 kB / 0.585 GB, free: 2.57 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.563e-05/0.4265, allocations: 32.39 kB / 0.585 GB, free: 2.531 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.39e-05/0.4265, allocations: 11.16 kB / 0.585 GB, free: 2.523 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.282e-05/0.4266, allocations: 173.3 kB / 0.5852 GB, free: 2.32 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.4266, allocations: 9.062 kB / 0.5852 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-06/0.4266, allocations: 4.969 kB / 0.5852 GB, free: 2.309 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002449/0.4269, allocations: 86.33 kB / 0.5853 GB, free: 2.266 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.4269, allocations: 0.75 kB / 0.5853 GB, free: 2.266 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.4269, allocations: 1 kB / 0.5853 GB, free: 2.266 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.4269, allocations: 3.938 kB / 0.5853 GB, free: 2.262 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002979/0.4272, allocations: 96.23 kB / 0.5854 GB, free: 2.25 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002968/0.4275, allocations: 287.7 kB / 0.5857 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001991/0.4277, allocations: 78.55 kB / 0.5857 GB, free: 1.926 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.4279, allocations: 59.59 kB / 0.5858 GB, free: 1.906 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001905/0.4281, allocations: 102.6 kB / 0.5859 GB, free: 1.812 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.656e-05/0.4281, allocations: 36.75 kB / 0.5859 GB, free: 1.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.193e-06/0.4281, allocations: 0 / 0.5859 GB, free: 1.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005516/0.4287, allocations: 184.3 kB / 0.5861 GB, free: 1.711 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.927e-05/0.4287, allocations: 55.36 kB / 0.5862 GB, free: 1.645 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.074e-05/0.4288, allocations: 130.5 kB / 0.5863 GB, free: 1.535 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.935e-06/0.4288, allocations: 26.7 kB / 0.5863 GB, free: 1.504 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.188e-05/0.4288, allocations: 93.45 kB / 0.5864 GB, free: 1.414 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.484e-05/0.4288, allocations: 5.5 kB / 0.5864 GB, free: 1.41 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/0.4289, allocations: 0 / 0.5864 GB, free: 1.41 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.827e-05/0.4289, allocations: 322.7 kB / 0.5867 GB, free: 1.09 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.4291, allocations: 45.69 kB / 0.5868 GB, free: 1.086 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.4292, allocations: 54 kB / 0.5868 GB, free: 1.074 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.4293, allocations: 48.58 kB / 0.5869 GB, free: 1.066 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.4294, allocations: 0 / 0.5869 GB, free: 1.066 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003196/0.4297, allocations: 136 kB / 0.587 GB, free: 1.016 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.4297, allocations: 9.188 kB / 0.587 GB, free: 1.012 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.4297, allocations: 1.172 kB / 0.587 GB, free: 1.012 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.4297, allocations: 1.188 kB / 0.587 GB, free: 1.012 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.4299, allocations: 19.89 kB / 0.587 GB, free: 1.012 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.4299, allocations: 0.6875 kB / 0.587 GB, free: 1.012 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.097e-05/0.43, allocations: 25.62 kB / 0.587 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.43, allocations: 4 kB / 0.587 GB, free: 1 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.178e-05/0.43, allocations: 116.6 kB / 0.5872 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.677e-05/0.4301, allocations: 7.078 kB / 0.5872 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003518/0.4304, allocations: 146.9 kB / 0.5873 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.4304, allocations: 1.062 kB / 0.5873 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.4304, allocations: 3.938 kB / 0.5873 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.4305, allocations: 1.625 kB / 0.5873 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.4306, allocations: 179.1 kB / 0.5875 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.4306, allocations: 1.094 kB / 0.5875 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.563e-05/0.4307, allocations: 24.19 kB / 0.5875 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.4307, allocations: 5.031 kB / 0.5875 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.4307, allocations: 0.7031 kB / 0.5875 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4307, allocations: 0.9062 kB / 0.5875 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.4307, allocations: 0 / 0.5875 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000326/0.4311, allocations: 236.2 kB / 0.5877 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.794e-05/0.4311, allocations: 86.78 kB / 0.5878 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.4311, allocations: 2.031 kB / 0.5878 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.4312, allocations: 19.67 kB / 0.5878 GB, free: 352 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.617e-05/0.4313, allocations: 4.672 kB / 0.5878 GB, free: 352 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.4313, allocations: 0.8125 kB / 0.5878 GB, free: 352 kB / 430.1 MB Notification: Performance of sorting global known variables: time 4.259e-05/0.4313, allocations: 97.14 kB / 0.5879 GB, free: 272 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4313, allocations: 0 / 0.5879 GB, free: 272 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002252/0.4316, allocations: 16.5 kB / 0.588 GB, free: 264 kB / 430.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 (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.000601/0.4322, allocations: 0.77 MB / 0.5887 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003427/0.4325, allocations: 99.41 kB / 0.5888 GB, free: 15.55 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4325, allocations: 0 / 0.5888 GB, free: 15.55 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001559/0.4327, allocations: 58.59 kB / 0.5889 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.4329, allocations: 4.781 kB / 0.5889 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004278/0.4334, allocations: 192.2 kB / 0.589 GB, free: 15.37 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000209/0.4336, allocations: 0.694 MB / 0.5897 GB, free: 14.67 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.318e-05/0.4336, allocations: 2.734 kB / 0.5897 GB, free: 14.67 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.808e-05/0.4337, allocations: 22.33 kB / 0.5897 GB, free: 14.65 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4337, allocations: 0 / 0.5897 GB, free: 14.65 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01241/0.4461, allocations: 1.522 MB / 0.5912 GB, free: 14.48 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000156/0.4463, allocations: 174.1 kB / 0.5914 GB, free: 14.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.604/2.051, allocations: 0 / 0.5914 GB, free: 14.25 MB / 446.1 MB (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/linux/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) Environment - environmentSimulation: