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_med.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_med,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",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.705/1.705, allocations: 288.2 MB / 303.2 MB, free: 8.098 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.001225/0.001225, allocations: 187.5 kB / 371.8 MB, free: 10.28 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.799/1.799, allocations: 205.4 MB / 0.6305 GB, free: 10.02 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.0009405/0.0009407, allocations: 106.5 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003938/0.0003938, allocations: 10.84 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2402, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001659/0.242, allocations: 1.099 MB / 0.9806 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00244/0.2444, allocations: 2.262 MB / 0.9828 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.959e-05/0.2445, allocations: 0 / 0.9828 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001516/0.246, allocations: 0.5488 MB / 0.9833 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.84e-05/0.2461, allocations: 15.97 kB / 0.9833 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 4.959e-06/0.2461, allocations: 0 / 0.9833 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002165/0.2463, allocations: 135.6 kB / 0.9834 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.493e-05/0.2464, allocations: 32.41 kB / 0.9835 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.903e-05/0.2464, allocations: 47.8 kB / 0.9835 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.96e-05/0.2465, allocations: 75.59 kB / 0.9836 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.2466, allocations: 0 / 0.9836 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006263/0.2472, allocations: 447.6 kB / 0.984 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.387e-05/0.2472, allocations: 31.84 kB / 0.984 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.676e-05/0.2473, allocations: 65.58 kB / 0.9841 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003306/0.2476, allocations: 275.6 kB / 0.9844 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2477, allocations: 4 kB / 0.9844 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.234e-06/0.2477, allocations: 0 / 0.9844 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.2477, allocations: 0 / 0.9844 GB, free: 22.57 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.0006892/0.2484, allocations: 0.5448 MB / 0.9849 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.2484, allocations: 12.03 kB / 0.9849 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.395e-05/0.2485, allocations: 105.8 kB / 0.985 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001366/0.2486, allocations: 103 kB / 0.9851 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.2488, allocations: 301 kB / 0.9854 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.416e-05/0.2488, allocations: 154.6 kB / 0.9856 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.297e-05/0.2489, allocations: 158.6 kB / 0.9857 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.931e-05/0.2489, allocations: 104.9 kB / 0.9858 GB, free: 21 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.249, allocations: 79.28 kB / 0.9859 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.798e-05/0.249, allocations: 154.6 kB / 0.986 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.499e-05/0.249, allocations: 150.6 kB / 0.9862 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.513e-05/0.2491, allocations: 150.6 kB / 0.9863 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002653/0.2493, allocations: 0.5327 MB / 0.9868 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.434e-05/0.2494, allocations: 177.1 kB / 0.987 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.2494, allocations: 79.27 kB / 0.9871 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.2494, allocations: 105.8 kB / 0.9872 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.2494, allocations: 0 / 0.9872 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 0.000153/0.2496, allocations: 53.41 kB / 0.9872 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.2496, allocations: 126.7 kB / 0.9874 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003145/0.25, allocations: 437.1 kB / 0.9878 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.25, allocations: 29.7 kB / 0.9878 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.866e-05/0.2501, allocations: 132.5 kB / 0.9879 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.865e-06/0.2501, allocations: 0 / 0.9879 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-06/0.2501, allocations: 0 / 0.9879 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.765e-05/0.2502, allocations: 338.8 kB / 0.9882 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.948e-05/0.2503, allocations: 100.5 kB / 0.9883 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.2504, allocations: 165.3 kB / 0.9885 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.2505, allocations: 123.8 kB / 0.9886 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2505, allocations: 3.938 kB / 0.9886 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003976/0.2509, allocations: 328.9 kB / 0.9889 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.2509, allocations: 4 kB / 0.9889 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.2509, allocations: 4 kB / 0.9889 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.251, allocations: 224 / 0.9889 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.422e-06/0.251, allocations: 8 kB / 0.989 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.251, allocations: 3.984 kB / 0.989 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.2511, allocations: 51.28 kB / 0.989 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.2511, allocations: 4 kB / 0.989 GB, free: 17.56 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.0001898/0.2513, allocations: 241 kB / 0.9892 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.591e-05/0.2514, allocations: 124.7 kB / 0.9894 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.366e-05/0.2514, allocations: 123 kB / 0.9895 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.974e-05/0.2515, allocations: 180.2 kB / 0.9896 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.606e-05/0.2515, allocations: 180.3 kB / 0.9898 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.573e-05/0.2515, allocations: 180.2 kB / 0.99 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.2517, allocations: 473.2 kB / 0.9904 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.7e-05/0.2518, allocations: 101 kB / 0.9905 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.915e-05/0.2518, allocations: 108.9 kB / 0.9906 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.468e-05/0.2518, allocations: 188.2 kB / 0.9908 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.474e-05/0.2519, allocations: 188.2 kB / 0.991 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.871e-05/0.2519, allocations: 176.3 kB / 0.9912 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.93e-05/0.2519, allocations: 180.2 kB / 0.9913 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/0.2521, allocations: 335.4 kB / 0.9917 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.962e-05/0.2522, allocations: 197.8 kB / 0.9918 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.886e-05/0.2522, allocations: 184.2 kB / 0.992 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.2524, allocations: 105 kB / 0.9921 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.951e-05/0.2524, allocations: 180.2 kB / 0.9923 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.2524, allocations: 109 kB / 0.9924 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002005/0.2526, allocations: 271.1 kB / 0.9927 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2526, allocations: 0 / 0.9927 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003797/0.253, allocations: 87.98 kB / 0.9927 GB, free: 13.51 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.0005089/0.2535, allocations: 0.9824 MB / 0.9937 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001947/0.2537, allocations: 159.9 kB / 0.9939 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2537, allocations: 0 / 0.9939 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.654e-06/0.2537, allocations: 0 / 0.9939 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.254, allocations: 0.532 MB / 0.9944 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009979/0.255, allocations: 1.737 MB / 0.9961 GB, free: 9.992 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000175/0.2552, allocations: 0.7823 MB / 0.9968 GB, free: 9.184 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.425e-05/0.2552, allocations: 4 kB / 0.9968 GB, free: 9.18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.046e-05/0.2553, allocations: 59.41 kB / 0.9969 GB, free: 9.121 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2553, allocations: 3.938 kB / 0.9969 GB, free: 9.117 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01668/0.2719, allocations: 5.923 MB / 1.003 GB, free: 3.383 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001911/0.2722, allocations: 206.7 kB / 1.003 GB, free: 3.148 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.038/2.31, allocations: 4 kB / 1.003 GB, free: 3.145 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > Buildings_maint.8.0.x_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1)