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.46/1.46, allocations: 252 MB / 268 MB, free: 10.86 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.001104/0.001104, allocations: 171.5 kB / 327.6 MB, free: 2.105 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.764/1.764, allocations: 205.4 MB / 0.5786 GB, free: 20.14 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.0008994/0.0008995, allocations: 78.42 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003603/0.0003604, allocations: 11 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2333, allocations: 106.3 MB / 0.9014 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002302/0.2357, allocations: 1.207 MB / 0.9026 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003352/0.236, allocations: 116.6 kB / 0.9027 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.026e-05/0.2361, allocations: 4 kB / 0.9027 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.555e-05/0.2361, allocations: 0 / 0.9027 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.305e-05/0.2362, allocations: 7.938 kB / 0.9027 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001871/0.2364, allocations: 15.98 kB / 0.9028 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.71e-05/0.2365, allocations: 51.78 kB / 0.9028 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.2366, allocations: 4 kB / 0.9028 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.604e-05/0.2366, allocations: 11.98 kB / 0.9028 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.077e-05/0.2367, allocations: 23.86 kB / 0.9028 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.2367, allocations: 0 / 0.9028 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.431e-05/0.2368, allocations: 15.98 kB / 0.9029 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.263e-05/0.2368, allocations: 19.97 kB / 0.9029 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.918e-05/0.2369, allocations: 45.56 kB / 0.9029 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.093e-05/0.237, allocations: 35.94 kB / 0.903 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.237, allocations: 0 / 0.903 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.453e-06/0.237, allocations: 0 / 0.903 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.237, allocations: 4 kB / 0.903 GB, free: 61.93 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.0004607/0.2375, allocations: 380.9 kB / 0.9033 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.2375, allocations: 8.031 kB / 0.9033 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.604e-05/0.2376, allocations: 8.844 kB / 0.9033 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.755e-05/0.2377, allocations: 186.5 kB / 0.9035 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.2377, allocations: 384 / 0.9035 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.2377, allocations: 4.375 kB / 0.9035 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002451/0.238, allocations: 82.22 kB / 0.9036 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.238, allocations: 4.188 kB / 0.9036 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.238, allocations: 7.875 kB / 0.9036 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.238, allocations: 0 / 0.9036 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002933/0.2383, allocations: 103.9 kB / 0.9037 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003236/0.2386, allocations: 280.8 kB / 0.904 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.2389, allocations: 86.47 kB / 0.9041 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.239, allocations: 60.89 kB / 0.9041 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002297/0.2392, allocations: 101.1 kB / 0.9042 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.2393, allocations: 34.55 kB / 0.9043 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.2393, allocations: 0 / 0.9043 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005602/0.2399, allocations: 185.5 kB / 0.9044 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.2399, allocations: 51.41 kB / 0.9045 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.688e-05/0.24, allocations: 125.8 kB / 0.9046 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.24, allocations: 25.7 kB / 0.9046 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.36e-05/0.2401, allocations: 96.05 kB / 0.9047 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.2401, allocations: 7.844 kB / 0.9047 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/0.2401, allocations: 4 kB / 0.9047 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.721e-05/0.2402, allocations: 318.8 kB / 0.905 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.2403, allocations: 43.97 kB / 0.9051 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.2405, allocations: 51.95 kB / 0.9051 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002678/0.2407, allocations: 104.8 kB / 0.9052 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.2408, allocations: 3.938 kB / 0.9052 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003108/0.2411, allocations: 141.5 kB / 0.9054 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.2411, allocations: 4 kB / 0.9054 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.2411, allocations: 0 / 0.9054 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.2411, allocations: 0 / 0.9054 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.2413, allocations: 23.98 kB / 0.9054 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.2413, allocations: 3.984 kB / 0.9054 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.841e-05/0.2414, allocations: 19.92 kB / 0.9054 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-06/0.2414, allocations: 0 / 0.9054 GB, free: 59.19 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.172e-05/0.2415, allocations: 121.8 kB / 0.9055 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.2415, allocations: 8 kB / 0.9055 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003621/0.2419, allocations: 141.5 kB / 0.9057 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.2419, allocations: 0 / 0.9057 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.2419, allocations: 7.984 kB / 0.9057 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.2419, allocations: 0 / 0.9057 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.2421, allocations: 181.5 kB / 0.9059 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2421, allocations: 0 / 0.9059 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.2422, allocations: 27.97 kB / 0.9059 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2422, allocations: 4 kB / 0.9059 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.2422, allocations: 0 / 0.9059 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.2422, allocations: 0 / 0.9059 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.2422, allocations: 0 / 0.9059 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003473/0.2426, allocations: 235.3 kB / 0.9061 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.695e-05/0.2426, allocations: 81.44 kB / 0.9062 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.2426, allocations: 0 / 0.9062 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.2428, allocations: 19.98 kB / 0.9062 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.58e-05/0.2428, allocations: 11.92 kB / 0.9062 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.2428, allocations: 0 / 0.9062 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.108e-05/0.2429, allocations: 102.1 kB / 0.9063 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2429, allocations: 0 / 0.9063 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002135/0.2431, allocations: 8 kB / 0.9063 GB, free: 58.16 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.0001536/0.2433, allocations: 103.2 kB / 0.9064 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003429/0.2436, allocations: 103.9 kB / 0.9065 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2436, allocations: 4 kB / 0.9065 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.2438, allocations: 51.95 kB / 0.9066 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.244, allocations: 13.77 kB / 0.9066 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003483/0.2444, allocations: 194.3 kB / 0.9068 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001509/0.2446, allocations: 0.6848 MB / 0.9074 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.204e-05/0.2446, allocations: 11.44 kB / 0.9074 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of SimCode: time 8.31e-07/0.2446, allocations: 0 / 0.9074 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of Templates: time 0.002172/0.2468, allocations: 0.8851 MB / 0.9083 GB, free: 56.06 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)