Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.Biquadratic.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.Biquadratic") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.279/2.279, allocations: 251.3 MB / 266.2 MB, free: 11.5 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001354/0.001354, allocations: 184.7 kB / 325.8 MB, free: 2.77 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.409/2.409, allocations: 205.4 MB / 0.5767 GB, free: 20.72 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009755/0.0009756, allocations: 86 kB / 0.6812 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007522/0.0007523, allocations: 11.03 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2475, allocations: 106.3 MB / 0.899 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.001785/0.2494, allocations: 1.199 MB / 0.9002 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002938/0.2497, allocations: 112.5 kB / 0.9003 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.343e-05/0.2498, allocations: 0 / 0.9003 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.56e-05/0.2498, allocations: 3.938 kB / 0.9003 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.292e-05/0.2499, allocations: 7.938 kB / 0.9003 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001855/0.2501, allocations: 15.97 kB / 0.9003 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.905e-05/0.2502, allocations: 35.86 kB / 0.9004 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.643e-05/0.2503, allocations: 15.98 kB / 0.9004 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.014e-05/0.2503, allocations: 19.92 kB / 0.9004 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.181e-05/0.2504, allocations: 19.91 kB / 0.9004 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.2504, allocations: 4 kB / 0.9004 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.203e-05/0.2505, allocations: 15.98 kB / 0.9004 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.494e-05/0.2506, allocations: 8 kB / 0.9005 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.793e-05/0.2506, allocations: 41.62 kB / 0.9005 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.645e-05/0.2507, allocations: 31.94 kB / 0.9005 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.2507, allocations: 0 / 0.9005 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.174e-06/0.2507, allocations: 4 kB / 0.9005 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.2507, allocations: 0 / 0.9005 GB, free: 63.87 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.0005732/0.2513, allocations: 371.6 kB / 0.9009 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.2514, allocations: 15.97 kB / 0.9009 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.867e-05/0.2514, allocations: 8.844 kB / 0.9009 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.2515, allocations: 188.2 kB / 0.9011 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.2516, allocations: 384 / 0.9011 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.2516, allocations: 384 / 0.9011 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003627/0.252, allocations: 82.22 kB / 0.9012 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.453e-05/0.252, allocations: 4.125 kB / 0.9012 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.252, allocations: 7.938 kB / 0.9012 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.252, allocations: 0 / 0.9012 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005159/0.2526, allocations: 103.9 kB / 0.9013 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003613/0.2529, allocations: 273 kB / 0.9015 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003185/0.2533, allocations: 82.47 kB / 0.9016 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002664/0.2536, allocations: 56.91 kB / 0.9017 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002563/0.2538, allocations: 109 kB / 0.9018 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.2539, allocations: 30.56 kB / 0.9018 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 2.084e-06/0.2539, allocations: 0 / 0.9018 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0009089/0.2548, allocations: 185.5 kB / 0.902 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.2548, allocations: 55.41 kB / 0.902 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.255, allocations: 124.5 kB / 0.9021 GB, free: 62 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.255, allocations: 25.7 kB / 0.9022 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.463e-05/0.255, allocations: 96.12 kB / 0.9023 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.2551, allocations: 7.844 kB / 0.9023 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-06/0.2551, allocations: 3.938 kB / 0.9023 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.08e-05/0.2551, allocations: 322.8 kB / 0.9026 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002619/0.2554, allocations: 43.97 kB / 0.9026 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002529/0.2557, allocations: 51.89 kB / 0.9027 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002555/0.256, allocations: 52.25 kB / 0.9027 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.256, allocations: 3.938 kB / 0.9027 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005891/0.2566, allocations: 137.5 kB / 0.9029 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.2566, allocations: 4 kB / 0.9029 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.2566, allocations: 0 / 0.9029 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.2566, allocations: 4 kB / 0.9029 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/0.2569, allocations: 23.97 kB / 0.9029 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.2569, allocations: 0 / 0.9029 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.257, allocations: 19.98 kB / 0.9029 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.257, allocations: 8 kB / 0.9029 GB, free: 61.18 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.093e-05/0.2571, allocations: 121.7 kB / 0.903 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/0.2572, allocations: 3.906 kB / 0.903 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000614/0.2578, allocations: 149.4 kB / 0.9032 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.2578, allocations: 0 / 0.9032 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.2578, allocations: 0 / 0.9032 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.2579, allocations: 4 kB / 0.9032 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001803/0.258, allocations: 177.6 kB / 0.9034 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2581, allocations: 0 / 0.9034 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.2582, allocations: 19.98 kB / 0.9034 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.2582, allocations: 4 kB / 0.9034 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.2583, allocations: 0 / 0.9034 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.2583, allocations: 4 kB / 0.9034 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.2583, allocations: 0 / 0.9034 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005854/0.2589, allocations: 235.2 kB / 0.9036 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.744e-05/0.2589, allocations: 77.11 kB / 0.9037 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.2589, allocations: 4 kB / 0.9037 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/0.2591, allocations: 23.97 kB / 0.9037 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.163e-05/0.2592, allocations: 4 kB / 0.9037 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.2592, allocations: 0 / 0.9037 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.171e-05/0.2593, allocations: 103.2 kB / 0.9038 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2593, allocations: 0 / 0.9038 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002857/0.2596, allocations: 12 kB / 0.9038 GB, free: 60.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 (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.0001374/0.2597, allocations: 95.25 kB / 0.9039 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005853/0.2603, allocations: 99.92 kB / 0.904 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.2604, allocations: 0 / 0.904 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002742/0.2606, allocations: 59.89 kB / 0.9041 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.261, allocations: 7.875 kB / 0.9041 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003647/0.2613, allocations: 164.5 kB / 0.9042 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001383/0.2615, allocations: 0.6926 MB / 0.9049 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.449e-05/0.2615, allocations: 3.859 kB / 0.9049 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.457e-05/0.2616, allocations: 11.44 kB / 0.9049 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of SimCode: time 7.52e-07/0.2616, allocations: 4 kB / 0.9049 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of Templates: time 0.003503/0.2651, allocations: 0.6375 MB / 0.9055 GB, free: 58.34 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.Biquadratic.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1)