Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.432/1.432, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001269/0.001269, allocations: 178.8 kB / 326.5 MB, free: 2.707 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.774/1.774, allocations: 205 MB / 0.5766 GB, free: 21.02 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008083/0.0008083, allocations: 94.25 kB / 0.6803 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003098/0.0003098, allocations: 9.531 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.2002, allocations: 105.4 MB / 0.8967 GB, free: 68.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.001697/0.202, allocations: 1.219 MB / 0.8979 GB, free: 66.99 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003286/0.2023, allocations: 113.3 kB / 0.898 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.24e-05/0.2024, allocations: 0 / 0.898 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.954e-05/0.2024, allocations: 3.984 kB / 0.898 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.621e-05/0.2025, allocations: 7.875 kB / 0.898 GB, free: 66.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001818/0.2027, allocations: 19.97 kB / 0.8981 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.623e-05/0.2028, allocations: 51.84 kB / 0.8981 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.909e-05/0.2029, allocations: 7.938 kB / 0.8981 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.768e-05/0.203, allocations: 15.92 kB / 0.8981 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.899e-05/0.203, allocations: 23.92 kB / 0.8982 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.203, allocations: 0 / 0.8982 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.472e-05/0.2031, allocations: 19.98 kB / 0.8982 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.217e-05/0.2032, allocations: 11.92 kB / 0.8982 GB, free: 66.72 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.167e-05/0.2032, allocations: 19.88 kB / 0.8982 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.729e-05/0.2033, allocations: 31.92 kB / 0.8982 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.2033, allocations: 4 kB / 0.8982 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.195e-06/0.2033, allocations: 0 / 0.8982 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.2033, allocations: 0 / 0.8982 GB, free: 66.66 MB / 0.6042 GB 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.000526/0.2039, allocations: 387.3 kB / 0.8986 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.2039, allocations: 12.03 kB / 0.8986 GB, free: 66.22 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.061e-05/0.204, allocations: 4.844 kB / 0.8986 GB, free: 66.22 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.2041, allocations: 176.2 kB / 0.8988 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.2041, allocations: 4.375 kB / 0.8988 GB, free: 66 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.2041, allocations: 8.297 kB / 0.8988 GB, free: 66 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/0.2044, allocations: 86.22 kB / 0.8989 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.2044, allocations: 4.125 kB / 0.8989 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.2044, allocations: 3.938 kB / 0.8989 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.2044, allocations: 0 / 0.8989 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002883/0.2047, allocations: 99.92 kB / 0.899 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003435/0.2051, allocations: 284.9 kB / 0.8993 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/0.2053, allocations: 82.41 kB / 0.8993 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001509/0.2054, allocations: 60.91 kB / 0.8994 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001987/0.2056, allocations: 101.1 kB / 0.8995 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.623e-05/0.2057, allocations: 38.56 kB / 0.8995 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.283e-06/0.2057, allocations: 0 / 0.8995 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005268/0.2062, allocations: 177.6 kB / 0.8997 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.229e-05/0.2062, allocations: 59.33 kB / 0.8998 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.744e-05/0.2063, allocations: 121.8 kB / 0.8999 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.338e-06/0.2063, allocations: 29.7 kB / 0.8999 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.68e-05/0.2064, allocations: 100 kB / 0.9 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/0.2064, allocations: 3.906 kB / 0.9 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.057e-05/0.2064, allocations: 9.719 kB / 0.9 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.689e-05/0.2065, allocations: 322.8 kB / 0.9003 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.2066, allocations: 47.97 kB / 0.9004 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.2068, allocations: 47.95 kB / 0.9004 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002636/0.207, allocations: 100.8 kB / 0.9005 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2071, allocations: 7.875 kB / 0.9005 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003027/0.2074, allocations: 137.5 kB / 0.9006 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.2074, allocations: 7.938 kB / 0.9007 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.2074, allocations: 4 kB / 0.9007 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.2074, allocations: 4 kB / 0.9007 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.2075, allocations: 15.98 kB / 0.9007 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.2076, allocations: 4 kB / 0.9007 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.592e-05/0.2076, allocations: 15.98 kB / 0.9007 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.2077, allocations: 4 kB / 0.9007 GB, free: 63.9 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.692e-05/0.2077, allocations: 121.8 kB / 0.9008 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.2078, allocations: 0 / 0.9008 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003526/0.2081, allocations: 137.5 kB / 0.9009 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.2082, allocations: 4 kB / 0.9009 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2082, allocations: 384 / 0.9009 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.2082, allocations: 0 / 0.9009 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.2083, allocations: 193.3 kB / 0.9011 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2083, allocations: 3.938 kB / 0.9011 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.379e-05/0.2084, allocations: 31.97 kB / 0.9012 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.624e-06/0.2084, allocations: 3.984 kB / 0.9012 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.2084, allocations: 4 kB / 0.9012 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2084, allocations: 0 / 0.9012 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2084, allocations: 0 / 0.9012 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003155/0.2088, allocations: 227.4 kB / 0.9014 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.014e-05/0.2088, allocations: 81.02 kB / 0.9015 GB, free: 63 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.2088, allocations: 8 kB / 0.9015 GB, free: 63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.2089, allocations: 15.98 kB / 0.9015 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.68e-05/0.209, allocations: 3.984 kB / 0.9015 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.209, allocations: 0 / 0.9015 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.867e-05/0.209, allocations: 103.3 kB / 0.9016 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.209, allocations: 0 / 0.9016 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002115/0.2093, allocations: 8 kB / 0.9016 GB, free: 62.87 MB / 0.6042 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.0001266/0.2094, allocations: 103.2 kB / 0.9017 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003346/0.2097, allocations: 107.9 kB / 0.9018 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2097, allocations: 0 / 0.9018 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.2099, allocations: 43.97 kB / 0.9018 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.2101, allocations: 19.92 kB / 0.9019 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003295/0.2105, allocations: 178.8 kB / 0.902 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/0.2106, allocations: 0.6926 MB / 0.9027 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.666e-05/0.2107, allocations: 11.38 kB / 0.9027 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of SimCode: time 9.42e-07/0.2107, allocations: 4 kB / 0.9027 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of Templates: time 0.001951/0.2126, allocations: 0.8876 MB / 0.9036 GB, free: 60.77 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1)