Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.579/1.579, allocations: 292.3 MB / 308.1 MB, free: 4.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00113/0.00113, allocations: 188.2 kB / 376.9 MB, free: 1.809 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.375/1.375, allocations: 205 MB / 0.6353 GB, free: 9.758 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008547/0.0008547, allocations: 103.2 kB / 0.748 GB, free: 61.3 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001067/0.001067, allocations: 55.91 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2309, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.003408/0.2344, allocations: 1.549 MB / 0.9837 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0003778/0.2348, allocations: 108.6 kB / 0.9838 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.934e-05/0.2349, allocations: 4 kB / 0.9838 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 5.369e-05/0.2349, allocations: 0 / 0.9838 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.525e-05/0.235, allocations: 11.92 kB / 0.9838 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002128/0.2353, allocations: 15.92 kB / 0.9839 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.013e-05/0.2354, allocations: 39.91 kB / 0.9839 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.2355, allocations: 8 kB / 0.9839 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.434e-05/0.2355, allocations: 19.92 kB / 0.9839 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.646e-05/0.2356, allocations: 19.92 kB / 0.9839 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.2356, allocations: 4 kB / 0.9839 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.664e-05/0.2357, allocations: 19.92 kB / 0.984 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.328e-05/0.2357, allocations: 15.97 kB / 0.984 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.138e-05/0.2358, allocations: 19.86 kB / 0.984 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001352/0.2359, allocations: 55.81 kB / 0.984 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2359, allocations: 0 / 0.984 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2359, allocations: 0 / 0.984 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.166e-05/0.236, allocations: 0 / 0.984 GB, free: 8.477 MB / 0.7136 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.0006177/0.2366, allocations: 383.4 kB / 0.9844 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.2366, allocations: 15.91 kB / 0.9844 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.2367, allocations: 4.938 kB / 0.9844 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.2368, allocations: 180.2 kB / 0.9846 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.973e-05/0.2369, allocations: 4.375 kB / 0.9846 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.2369, allocations: 4.375 kB / 0.9846 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002883/0.2372, allocations: 74.2 kB / 0.9847 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.2372, allocations: 4.188 kB / 0.9847 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.2372, allocations: 3.938 kB / 0.9847 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.2372, allocations: 0 / 0.9847 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002882/0.2375, allocations: 75.91 kB / 0.9848 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003884/0.2379, allocations: 288.8 kB / 0.985 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.2381, allocations: 74.47 kB / 0.9851 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.2383, allocations: 40.92 kB / 0.9852 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002675/0.2386, allocations: 113.1 kB / 0.9853 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.2386, allocations: 30.56 kB / 0.9853 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.2386, allocations: 0 / 0.9853 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0005535/0.2392, allocations: 153.4 kB / 0.9854 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.2392, allocations: 55.41 kB / 0.9855 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.2393, allocations: 129.8 kB / 0.9856 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.2394, allocations: 25.7 kB / 0.9856 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.002e-05/0.2394, allocations: 92.12 kB / 0.9857 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.2394, allocations: 7.906 kB / 0.9857 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.263e-05/0.2395, allocations: 13.72 kB / 0.9857 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.2396, allocations: 318.8 kB / 0.986 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.2398, allocations: 35.97 kB / 0.9861 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.2399, allocations: 39.95 kB / 0.9861 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002754/0.2402, allocations: 76.78 kB / 0.9862 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.2402, allocations: 3.938 kB / 0.9862 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003341/0.2405, allocations: 125.5 kB / 0.9863 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.2406, allocations: 4 kB / 0.9863 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.2406, allocations: 0 / 0.9863 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.2406, allocations: 0 / 0.9863 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.2407, allocations: 19.98 kB / 0.9863 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.2407, allocations: 0 / 0.9863 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.587e-05/0.2408, allocations: 15.98 kB / 0.9864 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.2408, allocations: 0 / 0.9864 GB, free: 5.867 MB / 0.7136 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.569e-05/0.2409, allocations: 125.8 kB / 0.9865 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.697e-05/0.2409, allocations: 7.906 kB / 0.9865 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003655/0.2413, allocations: 117.5 kB / 0.9866 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.2413, allocations: 4 kB / 0.9866 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2413, allocations: 0 / 0.9866 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.2413, allocations: 0 / 0.9866 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.2415, allocations: 185.5 kB / 0.9868 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2415, allocations: 0 / 0.9868 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.174e-05/0.2416, allocations: 19.97 kB / 0.9868 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.2416, allocations: 0 / 0.9868 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.477e-06/0.2416, allocations: 4 kB / 0.9868 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.2416, allocations: 0 / 0.9868 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2417, allocations: 0 / 0.9868 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007141/0.2424, allocations: 0.7984 MB / 0.9876 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.374e-05/0.2424, allocations: 85.02 kB / 0.9877 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.2424, allocations: 7.984 kB / 0.9877 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.2425, allocations: 15.98 kB / 0.9877 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.727e-05/0.2426, allocations: 3.938 kB / 0.9877 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/0.2426, allocations: 3.938 kB / 0.9877 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.003e-05/0.2427, allocations: 103.2 kB / 0.9878 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1e-07/0.2427, allocations: 0 / 0.9878 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003062/0.243, allocations: 12 kB / 0.9878 GB, free: 4.238 MB / 0.7136 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.0001386/0.2431, allocations: 111.1 kB / 0.9879 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003255/0.2435, allocations: 75.92 kB / 0.988 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.2435, allocations: 0 / 0.988 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.00015/0.2436, allocations: 43.95 kB / 0.988 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.2439, allocations: 12.66 kB / 0.988 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003967/0.2443, allocations: 262.2 kB / 0.9883 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/0.2445, allocations: 0.6887 MB / 0.989 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.18e-05/0.2446, allocations: 4 kB / 0.989 GB, free: 2.984 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.535e-05/0.2446, allocations: 19.38 kB / 0.989 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of SimCode: time 2e-07/0.2446, allocations: 0 / 0.989 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of Templates: time 0.002578/0.2472, allocations: 0.6727 MB / 0.9896 GB, free: 2.297 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1)