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.769/1.769, allocations: 288.4 MB / 303.3 MB, free: 8.27 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.0009223/0.0009222, allocations: 181.5 kB / 372 MB, free: 10.27 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.718/1.718, allocations: 205.4 MB / 0.6307 GB, free: 9.988 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.0009911/0.0009911, allocations: 82.36 kB / 0.7441 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004014/0.0004014, allocations: 11.22 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2441, allocations: 115.3 MB / 0.9796 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001562/0.2458, allocations: 1.108 MB / 0.9807 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001714/0.2475, allocations: 1.758 MB / 0.9824 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.193e-05/0.2475, allocations: 0 / 0.9824 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008253/0.2484, allocations: 342.1 kB / 0.9828 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.13e-05/0.2484, allocations: 19.91 kB / 0.9828 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.176e-06/0.2484, allocations: 0 / 0.9828 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002141/0.2487, allocations: 127.2 kB / 0.9829 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.632e-05/0.2487, allocations: 17.5 kB / 0.9829 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.939e-05/0.2488, allocations: 43.81 kB / 0.983 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.2489, allocations: 63.77 kB / 0.983 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.2489, allocations: 4 kB / 0.983 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003608/0.2493, allocations: 175.9 kB / 0.9832 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.496e-05/0.2494, allocations: 27.91 kB / 0.9832 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.158e-05/0.2494, allocations: 57.58 kB / 0.9833 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002397/0.2497, allocations: 211.5 kB / 0.9835 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2497, allocations: 4 kB / 0.9835 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.234e-06/0.2497, allocations: 0 / 0.9835 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.2497, allocations: 4 kB / 0.9835 GB, free: 23.62 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.0006519/0.2504, allocations: 474.5 kB / 0.9839 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.2504, allocations: 8.031 kB / 0.984 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.421e-05/0.2505, allocations: 105.8 kB / 0.9841 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001317/0.2506, allocations: 110.9 kB / 0.9842 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.2508, allocations: 282.1 kB / 0.9844 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.697e-05/0.2508, allocations: 162.5 kB / 0.9846 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.802e-05/0.2509, allocations: 154.6 kB / 0.9847 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.187e-05/0.2509, allocations: 105 kB / 0.9848 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/0.251, allocations: 79.27 kB / 0.9849 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.353e-05/0.251, allocations: 150.6 kB / 0.985 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.863e-05/0.2511, allocations: 154.6 kB / 0.9852 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.769e-05/0.2511, allocations: 154.5 kB / 0.9853 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002596/0.2514, allocations: 0.5093 MB / 0.9858 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.303e-05/0.2514, allocations: 169.1 kB / 0.986 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.261e-05/0.2514, allocations: 88.14 kB / 0.9861 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.2515, allocations: 75.28 kB / 0.9862 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.2515, allocations: 109.8 kB / 0.9863 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.2515, allocations: 0 / 0.9863 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 0.0001588/0.2517, allocations: 45.45 kB / 0.9863 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.2517, allocations: 126.7 kB / 0.9864 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002402/0.252, allocations: 314.3 kB / 0.9867 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.498e-06/0.252, allocations: 33.7 kB / 0.9868 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.296e-05/0.252, allocations: 116.4 kB / 0.9869 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-06/0.252, allocations: 0 / 0.9869 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-06/0.252, allocations: 0 / 0.9869 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.669e-05/0.2521, allocations: 330.8 kB / 0.9872 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.528e-05/0.2522, allocations: 63.95 kB / 0.9872 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.446e-05/0.2523, allocations: 121.9 kB / 0.9874 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.08e-05/0.2524, allocations: 79.95 kB / 0.9874 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.2524, allocations: 3.953 kB / 0.9874 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003301/0.2527, allocations: 229.2 kB / 0.9877 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.2527, allocations: 8 kB / 0.9877 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.2528, allocations: 0 / 0.9877 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.2528, allocations: 4 kB / 0.9877 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.415e-06/0.2528, allocations: 3.938 kB / 0.9877 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.2528, allocations: 8.219 kB / 0.9877 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.2529, allocations: 31.52 kB / 0.9877 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.2529, allocations: 4.078 kB / 0.9877 GB, free: 19.02 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.0001956/0.2531, allocations: 225.1 kB / 0.9879 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.309e-05/0.2532, allocations: 128.7 kB / 0.9881 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.696e-05/0.2532, allocations: 109.6 kB / 0.9882 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-05/0.2533, allocations: 184.3 kB / 0.9883 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.162e-05/0.2533, allocations: 188.2 kB / 0.9885 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.019e-05/0.2533, allocations: 176.3 kB / 0.9887 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/0.2535, allocations: 449.1 kB / 0.9891 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.559e-05/0.2535, allocations: 109 kB / 0.9892 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.5e-05/0.2536, allocations: 108.9 kB / 0.9893 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.843e-05/0.2536, allocations: 188.1 kB / 0.9895 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.851e-05/0.2536, allocations: 184.2 kB / 0.9897 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.822e-05/0.2537, allocations: 184.2 kB / 0.9898 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.433e-05/0.2537, allocations: 180.5 kB / 0.99 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.295e-05/0.2538, allocations: 327.6 kB / 0.9903 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.025e-05/0.2538, allocations: 193.9 kB / 0.9905 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.022e-05/0.2539, allocations: 188.2 kB / 0.9907 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.382e-05/0.254, allocations: 101 kB / 0.9908 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.25e-05/0.254, allocations: 188.2 kB / 0.991 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.254, allocations: 105 kB / 0.9911 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001385/0.2542, allocations: 213.9 kB / 0.9913 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2542, allocations: 0 / 0.9913 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003373/0.2545, allocations: 63.98 kB / 0.9913 GB, free: 15.09 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.0004673/0.255, allocations: 0.9177 MB / 0.9922 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001487/0.2552, allocations: 99.89 kB / 0.9923 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2552, allocations: 0 / 0.9923 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.475e-06/0.2552, allocations: 4.438 kB / 0.9923 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.2555, allocations: 0.5237 MB / 0.9928 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.2568, allocations: 1.183 MB / 0.994 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001749/0.2569, allocations: 0.7433 MB / 0.9947 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.493e-05/0.257, allocations: 11.88 kB / 0.9947 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.588e-05/0.257, allocations: 31.42 kB / 0.9948 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of SimCode: time 5.01e-07/0.257, allocations: 0 / 0.9948 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01479/0.2718, allocations: 4.498 MB / 0.9992 GB, free: 7.141 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001613/0.272, allocations: 219.3 kB / 0.9994 GB, free: 6.902 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.805/2.077, allocations: 4.062 kB / 0.9994 GB, free: 6.898 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)