Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.841/2.841, allocations: 287.3 MB / 302.3 MB, free: 8.367 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.001579/0.001579, allocations: 183 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.213/2.213, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001206/0.001206, allocations: 90.86 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007335/0.0007336, allocations: 11.52 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.248, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001604/0.2497, allocations: 1.092 MB / 0.9794 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002597/0.2523, allocations: 1.634 MB / 0.9809 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.642e-05/0.2524, allocations: 0 / 0.9809 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.00152/0.2539, allocations: 359.7 kB / 0.9813 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.236e-05/0.254, allocations: 19.95 kB / 0.9813 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 4.709e-06/0.254, allocations: 3.938 kB / 0.9813 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002093/0.2543, allocations: 99.72 kB / 0.9814 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.282e-05/0.2543, allocations: 17.5 kB / 0.9814 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.306e-05/0.2544, allocations: 43.84 kB / 0.9815 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.2545, allocations: 59.72 kB / 0.9815 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.2546, allocations: 8 kB / 0.9815 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008061/0.2554, allocations: 227.9 kB / 0.9817 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.961e-05/0.2555, allocations: 27.91 kB / 0.9818 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.715e-05/0.2555, allocations: 57.58 kB / 0.9818 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003746/0.2559, allocations: 163.9 kB / 0.982 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2559, allocations: 0 / 0.982 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.944e-06/0.256, allocations: 0 / 0.982 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.267e-05/0.256, allocations: 0 / 0.982 GB, free: 24.46 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.000734/0.2567, allocations: 486.4 kB / 0.9825 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.2568, allocations: 12.03 kB / 0.9825 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.5e-05/0.2568, allocations: 105.8 kB / 0.9826 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001803/0.257, allocations: 99 kB / 0.9827 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.2572, allocations: 294.1 kB / 0.9829 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.382e-05/0.2573, allocations: 150.6 kB / 0.9831 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.578e-05/0.2573, allocations: 158.6 kB / 0.9832 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.04e-05/0.2574, allocations: 104.9 kB / 0.9833 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.2574, allocations: 75.28 kB / 0.9834 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.675e-05/0.2575, allocations: 150.6 kB / 0.9835 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.749e-05/0.2575, allocations: 154.6 kB / 0.9837 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.89e-05/0.2575, allocations: 150.6 kB / 0.9838 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003313/0.2579, allocations: 0.5133 MB / 0.9843 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.075e-05/0.2579, allocations: 177.1 kB / 0.9845 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.258, allocations: 75.28 kB / 0.9846 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.258, allocations: 109.8 kB / 0.9847 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 2.084e-06/0.258, allocations: 0 / 0.9847 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 0.0002141/0.2582, allocations: 49.5 kB / 0.9847 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.2583, allocations: 126.7 kB / 0.9849 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000423/0.2587, allocations: 318.2 kB / 0.9852 GB, free: 21 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.2588, allocations: 29.7 kB / 0.9852 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.311e-05/0.2588, allocations: 108.5 kB / 0.9853 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.986e-06/0.2588, allocations: 4 kB / 0.9853 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.732e-06/0.2589, allocations: 4 kB / 0.9853 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.749e-05/0.2589, allocations: 338.8 kB / 0.9856 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.2591, allocations: 55.97 kB / 0.9857 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.2592, allocations: 118 kB / 0.9858 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.2594, allocations: 75.95 kB / 0.9859 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.2594, allocations: 4 kB / 0.9859 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005413/0.2599, allocations: 249 kB / 0.9861 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.26, allocations: 5.25 kB / 0.9861 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.26, allocations: 0 / 0.9861 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.26, allocations: 4 kB / 0.9861 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.226e-06/0.26, allocations: 4 kB / 0.9861 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.2601, allocations: 0 / 0.9861 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.2603, allocations: 27.62 kB / 0.9861 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.2603, allocations: 7.938 kB / 0.9861 GB, free: 19.95 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.0001735/0.2605, allocations: 234.7 kB / 0.9864 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.293e-05/0.2605, allocations: 120.7 kB / 0.9865 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.74e-05/0.2606, allocations: 113.8 kB / 0.9866 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.354e-05/0.2606, allocations: 184.2 kB / 0.9868 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.354e-05/0.2607, allocations: 176.3 kB / 0.9869 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.319e-05/0.2607, allocations: 188.2 kB / 0.9871 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002422/0.261, allocations: 457.1 kB / 0.9876 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.977e-05/0.261, allocations: 101 kB / 0.9876 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.113e-05/0.261, allocations: 104.9 kB / 0.9877 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.315e-05/0.2611, allocations: 176.4 kB / 0.9879 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.671e-05/0.2611, allocations: 184.2 kB / 0.9881 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-05/0.2612, allocations: 192.3 kB / 0.9883 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.351e-05/0.2612, allocations: 184.3 kB / 0.9885 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001024/0.2613, allocations: 315.6 kB / 0.9888 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.877e-05/0.2614, allocations: 205.8 kB / 0.9889 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.266e-05/0.2615, allocations: 180.3 kB / 0.9891 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.2617, allocations: 105 kB / 0.9892 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.806e-05/0.2617, allocations: 180.2 kB / 0.9894 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.42e-05/0.2618, allocations: 105 kB / 0.9895 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002696/0.262, allocations: 209.9 kB / 0.9897 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.41e-07/0.2621, allocations: 0 / 0.9897 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005272/0.2626, allocations: 67.98 kB / 0.9898 GB, free: 16.02 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.0005682/0.2632, allocations: 0.9223 MB / 0.9907 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000264/0.2635, allocations: 99.89 kB / 0.9908 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.2635, allocations: 3.938 kB / 0.9908 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.067e-06/0.2635, allocations: 4 kB / 0.9908 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.2638, allocations: 0.5234 MB / 0.9913 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.2649, allocations: 1.599 MB / 0.9928 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002075/0.2651, allocations: 0.7433 MB / 0.9936 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.161e-05/0.2652, allocations: 4 kB / 0.9936 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.757e-05/0.2653, allocations: 35.42 kB / 0.9936 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of SimCode: time 1.082e-06/0.2653, allocations: 0 / 0.9936 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02972/0.295, allocations: 4.321 MB / 0.9978 GB, free: 7.809 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002612/0.2953, allocations: 201.4 kB / 0.998 GB, free: 7.574 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.564/2.859, allocations: 0 / 0.998 GB, free: 7.574 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > Buildings_8.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1)