Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.681/1.681, allocations: 288.2 MB / 303.2 MB, free: 8.059 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.001114/0.001114, allocations: 183.5 kB / 371.8 MB, free: 10.25 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.728/1.728, allocations: 205.4 MB / 0.6305 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001021/0.001021, allocations: 98.86 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005115/0.000512, allocations: 11.19 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2345, allocations: 115.3 MB / 0.9795 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001265/0.2358, allocations: 1.096 MB / 0.9805 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001373/0.2372, allocations: 1.626 MB / 0.9821 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.218e-05/0.2372, allocations: 4 kB / 0.9821 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007778/0.238, allocations: 366.6 kB / 0.9825 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.515e-05/0.2381, allocations: 19.89 kB / 0.9825 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.116e-06/0.2381, allocations: 0 / 0.9825 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001613/0.2382, allocations: 99.78 kB / 0.9826 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.691e-05/0.2383, allocations: 21.48 kB / 0.9826 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.737e-05/0.2384, allocations: 39.86 kB / 0.9827 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.211e-05/0.2384, allocations: 55.78 kB / 0.9827 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.2385, allocations: 8 kB / 0.9827 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003479/0.2388, allocations: 227.9 kB / 0.9829 GB, free: 24 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.688e-05/0.2389, allocations: 31.89 kB / 0.983 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.502e-05/0.2389, allocations: 53.58 kB / 0.983 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.2391, allocations: 163.9 kB / 0.9832 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2391, allocations: 0 / 0.9832 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.436e-06/0.2391, allocations: 0 / 0.9832 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.2392, allocations: 3.938 kB / 0.9832 GB, free: 23.75 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005675/0.2397, allocations: 482.4 kB / 0.9836 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.2398, allocations: 12.03 kB / 0.9836 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.804e-05/0.2398, allocations: 105.8 kB / 0.9838 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001278/0.2399, allocations: 99 kB / 0.9838 GB, free: 23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.2401, allocations: 294.1 kB / 0.9841 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/0.2402, allocations: 150.6 kB / 0.9843 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.102e-05/0.2402, allocations: 158.6 kB / 0.9844 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.885e-05/0.2402, allocations: 101 kB / 0.9845 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.2403, allocations: 79.22 kB / 0.9846 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.333e-05/0.2403, allocations: 154.6 kB / 0.9847 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.265e-05/0.2403, allocations: 150.6 kB / 0.9849 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.237e-05/0.2403, allocations: 154.5 kB / 0.985 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002286/0.2406, allocations: 0.5172 MB / 0.9855 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.717e-05/0.2406, allocations: 169.2 kB / 0.9857 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.2407, allocations: 75.28 kB / 0.9858 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.2407, allocations: 117.8 kB / 0.9859 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.2407, allocations: 0 / 0.9859 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 0.0001415/0.2408, allocations: 45.5 kB / 0.9859 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.2409, allocations: 126.7 kB / 0.986 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002507/0.2411, allocations: 318.3 kB / 0.9863 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.415e-06/0.2411, allocations: 25.7 kB / 0.9864 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.376e-05/0.2412, allocations: 112.5 kB / 0.9865 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-06/0.2412, allocations: 0 / 0.9865 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-06/0.2412, allocations: 0 / 0.9865 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.794e-05/0.2413, allocations: 338.8 kB / 0.9868 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.122e-05/0.2413, allocations: 59.95 kB / 0.9869 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.3e-05/0.2414, allocations: 125.9 kB / 0.987 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.723e-05/0.2415, allocations: 75.97 kB / 0.9871 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2415, allocations: 0 / 0.9871 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003139/0.2418, allocations: 241.1 kB / 0.9873 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.2419, allocations: 8 kB / 0.9873 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.2419, allocations: 0 / 0.9873 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.2419, allocations: 4 kB / 0.9873 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.294e-06/0.2419, allocations: 11.88 kB / 0.9873 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.2419, allocations: 4 kB / 0.9873 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.95e-05/0.242, allocations: 27.53 kB / 0.9873 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.242, allocations: 4 kB / 0.9873 GB, free: 19.22 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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 0.0001428/0.2422, allocations: 229.3 kB / 0.9876 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.513e-05/0.2422, allocations: 124.7 kB / 0.9877 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.652e-05/0.2423, allocations: 113.6 kB / 0.9878 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.46e-05/0.2423, allocations: 184.3 kB / 0.988 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.098e-05/0.2423, allocations: 180.2 kB / 0.9881 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.328e-05/0.2424, allocations: 180.3 kB / 0.9883 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.2425, allocations: 453.1 kB / 0.9887 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.627e-05/0.2426, allocations: 101 kB / 0.9888 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.533e-05/0.2426, allocations: 105 kB / 0.9889 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.667e-05/0.2426, allocations: 188.3 kB / 0.9891 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.973e-05/0.2426, allocations: 176.3 kB / 0.9893 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.087e-05/0.2427, allocations: 192.2 kB / 0.9895 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-05/0.2427, allocations: 184.3 kB / 0.9896 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.091e-05/0.2428, allocations: 319.5 kB / 0.9899 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.715e-05/0.2428, allocations: 193.9 kB / 0.9901 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.728e-05/0.2429, allocations: 192.2 kB / 0.9903 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.292e-05/0.243, allocations: 105 kB / 0.9904 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.243, allocations: 180.2 kB / 0.9906 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.2431, allocations: 101 kB / 0.9907 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001333/0.2432, allocations: 213.9 kB / 0.9909 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2432, allocations: 0 / 0.9909 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002991/0.2435, allocations: 63.98 kB / 0.9909 GB, free: 15.3 MB / 0.6198 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 (0): * Single equations (assignments): 0 * 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.000369/0.2439, allocations: 0.9177 MB / 0.9918 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001442/0.244, allocations: 99.89 kB / 0.9919 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.244, allocations: 0 / 0.9919 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.204e-06/0.244, allocations: 4 kB / 0.9919 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/0.2443, allocations: 0.5273 MB / 0.9925 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008045/0.2451, allocations: 1.599 MB / 0.994 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001475/0.2452, allocations: 0.7394 MB / 0.9947 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.276e-05/0.2452, allocations: 8 kB / 0.9947 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.997e-05/0.2453, allocations: 35.42 kB / 0.9948 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of SimCode: time 2e-07/0.2453, allocations: 0 / 0.9948 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01406/0.2594, allocations: 4.333 MB / 0.999 GB, free: 7.102 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001485/0.2595, allocations: 209.4 kB / 0.9992 GB, free: 6.867 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.79/2.049, allocations: 0 / 0.9992 GB, free: 6.867 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > Buildings_maint.8.0.x_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1)