Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 196.1 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.802/2.802, allocations: 472.6 MB / 0.7451 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 65.95 kB / 0.912 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2882, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002826/0.291, allocations: 1.492 MB / 1.07 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002803/0.2913, allocations: 95.73 kB / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.985e-05/0.2914, allocations: 0 / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.17e-05/0.2914, allocations: 3.938 kB / 1.07 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.388e-05/0.2915, allocations: 11.92 kB / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001856/0.2917, allocations: 19.97 kB / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.097e-05/0.2918, allocations: 47.8 kB / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.2919, allocations: 19.98 kB / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.582e-05/0.292, allocations: 15.92 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.347e-05/0.292, allocations: 23.92 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.292, allocations: 4 kB / 1.07 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.673e-05/0.2921, allocations: 19.98 kB / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.193e-05/0.2922, allocations: 11.97 kB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.785e-05/0.2922, allocations: 27.81 kB / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001292/0.2924, allocations: 43.86 kB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.2924, allocations: 0 / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2924, allocations: 4 kB / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.2924, allocations: 7.938 kB / 1.07 GB, free: 8.594 MB / 0.8262 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.0005332/0.2929, allocations: 375.5 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.293, allocations: 12.03 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.993e-05/0.293, allocations: 8.844 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.2932, allocations: 180.2 kB / 1.071 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.2932, allocations: 384 / 1.071 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.2932, allocations: 4.375 kB / 1.071 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002596/0.2935, allocations: 78.22 kB / 1.071 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.2935, allocations: 4.125 kB / 1.071 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.2935, allocations: 3.938 kB / 1.071 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.2935, allocations: 0 / 1.071 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003012/0.2938, allocations: 75.91 kB / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003445/0.2942, allocations: 284.9 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.2944, allocations: 66.47 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/0.2945, allocations: 44.91 kB / 1.071 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002443/0.2948, allocations: 117 kB / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.2948, allocations: 34.56 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.2948, allocations: 0 / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005592/0.2954, allocations: 145.5 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.2955, allocations: 51.41 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.179e-05/0.2956, allocations: 129.8 kB / 1.072 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.2956, allocations: 25.7 kB / 1.072 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.479e-05/0.2956, allocations: 95.98 kB / 1.072 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.2956, allocations: 7.906 kB / 1.072 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.404e-05/0.2957, allocations: 17.7 kB / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.529e-05/0.2958, allocations: 322.8 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.2959, allocations: 35.95 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.2961, allocations: 31.97 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002774/0.2964, allocations: 88.77 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2964, allocations: 3.938 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003275/0.2967, allocations: 113.8 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.2967, allocations: 4 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.2967, allocations: 7.969 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.2968, allocations: 4 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.2969, allocations: 19.97 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.2969, allocations: 0 / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.78e-05/0.297, allocations: 15.98 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.297, allocations: 0 / 1.072 GB, free: 5.988 MB / 0.8262 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 7.193e-05/0.2971, allocations: 114.4 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.695e-05/0.2971, allocations: 4 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003664/0.2975, allocations: 129.4 kB / 1.073 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.2975, allocations: 0 / 1.073 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2975, allocations: 3.938 kB / 1.073 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.2975, allocations: 0 / 1.073 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.2977, allocations: 185.5 kB / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.2977, allocations: 0 / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.599e-05/0.2978, allocations: 15.98 kB / 1.073 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2978, allocations: 0 / 1.073 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.2978, allocations: 4 kB / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.2978, allocations: 0 / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2978, allocations: 0 / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003592/0.2982, allocations: 211.3 kB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.536e-05/0.2982, allocations: 85.02 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.2982, allocations: 7.984 kB / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.2984, allocations: 11.98 kB / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.592e-05/0.2984, allocations: 3.938 kB / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-06/0.2984, allocations: 4 kB / 1.073 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.161e-05/0.2985, allocations: 99.27 kB / 1.073 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2985, allocations: 0 / 1.073 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000224/0.2987, allocations: 11.98 kB / 1.073 GB, free: 5.008 MB / 0.8262 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.0001302/0.2988, allocations: 103.8 kB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003611/0.2992, allocations: 75.92 kB / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2992, allocations: 0 / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.2994, allocations: 47.89 kB / 1.073 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.2996, allocations: 7.938 kB / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002939/0.2999, allocations: 161 kB / 1.074 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002031/0.3001, allocations: 0.6846 MB / 1.074 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.831e-05/0.3002, allocations: 11.86 kB / 1.074 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.234e-05/0.3002, allocations: 11.44 kB / 1.074 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3002, allocations: 0 / 1.074 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of Templates: time 0.00279/0.303, allocations: 0.7993 MB / 1.075 GB, free: 3.062 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1)