Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001197/0.001198, allocations: 195.4 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.554/1.554, allocations: 205.1 MB / 222.4 MB, free: 4.59 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.725/1.725, allocations: 292.3 MB / 0.5489 GB, free: 12.83 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 68.06 kB / 0.6716 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2469, allocations: 114.6 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002764/0.2497, allocations: 1.416 MB / 0.7849 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003071/0.2527, allocations: 2.679 MB / 0.7875 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.517e-05/0.2528, allocations: 0 / 0.7875 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001446/0.2543, allocations: 0.5792 MB / 0.788 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.955e-05/0.2544, allocations: 19.84 kB / 0.7881 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.931e-06/0.2544, allocations: 4 kB / 0.7881 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002297/0.2546, allocations: 151 kB / 0.7882 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.344e-05/0.2547, allocations: 36.41 kB / 0.7882 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.633e-05/0.2548, allocations: 59.73 kB / 0.7883 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.2549, allocations: 79.52 kB / 0.7884 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.2549, allocations: 4 kB / 0.7884 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00106/0.256, allocations: 471.3 kB / 0.7888 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.067e-05/0.256, allocations: 31.84 kB / 0.7889 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.437e-05/0.2561, allocations: 99.36 kB / 0.7889 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005934/0.2567, allocations: 438.2 kB / 0.7894 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.2568, allocations: 4 kB / 0.7894 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2568, allocations: 4 kB / 0.7894 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.2568, allocations: 0 / 0.7894 GB, free: 7.293 MB / 0.6075 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.0007094/0.2575, allocations: 0.5451 MB / 0.7899 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.2575, allocations: 8.031 kB / 0.7899 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.667e-05/0.2576, allocations: 114 kB / 0.79 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/0.2578, allocations: 99.84 kB / 0.7901 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.258, allocations: 302.3 kB / 0.7904 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.45e-05/0.2581, allocations: 158.9 kB / 0.7906 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.98e-05/0.2581, allocations: 158.9 kB / 0.7907 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.154e-05/0.2582, allocations: 101.5 kB / 0.7908 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/0.2582, allocations: 79.22 kB / 0.7909 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.979e-05/0.2583, allocations: 158.5 kB / 0.791 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.126e-05/0.2583, allocations: 154.6 kB / 0.7912 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.891e-05/0.2584, allocations: 150.6 kB / 0.7913 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003492/0.2587, allocations: 0.5289 MB / 0.7918 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.042e-05/0.2588, allocations: 173.1 kB / 0.792 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.444e-05/0.2589, allocations: 84.14 kB / 0.7921 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.2589, allocations: 79.22 kB / 0.7922 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.378e-05/0.2589, allocations: 105.8 kB / 0.7923 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.2589, allocations: 0 / 0.7923 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 0.0001632/0.2591, allocations: 65.19 kB / 0.7923 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.2592, allocations: 130.7 kB / 0.7924 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003947/0.2596, allocations: 433.3 kB / 0.7929 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.2596, allocations: 25.7 kB / 0.7929 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.192e-05/0.2597, allocations: 136.5 kB / 0.793 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.559e-06/0.2597, allocations: 0 / 0.793 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.999e-05/0.2598, allocations: 93.59 kB / 0.7931 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.2599, allocations: 338.8 kB / 0.7934 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.26, allocations: 100.5 kB / 0.7935 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.2602, allocations: 161.3 kB / 0.7937 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002734/0.2605, allocations: 297.7 kB / 0.794 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.2605, allocations: 4 kB / 0.794 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004599/0.2609, allocations: 332.8 kB / 0.7943 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.261, allocations: 11.94 kB / 0.7943 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.261, allocations: 224 / 0.7943 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.261, allocations: 8 kB / 0.7943 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.202e-06/0.261, allocations: 0 / 0.7943 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.261, allocations: 4 kB / 0.7943 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.2611, allocations: 39.38 kB / 0.7943 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.2612, allocations: 7.984 kB / 0.7943 GB, free: 1.906 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002219/0.2614, allocations: 251.5 kB / 0.7946 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.409e-05/0.2615, allocations: 132.5 kB / 0.7947 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.805e-05/0.2615, allocations: 118.9 kB / 0.7948 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.727e-05/0.2616, allocations: 180.3 kB / 0.795 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.893e-05/0.2616, allocations: 180.2 kB / 0.7952 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-05/0.2617, allocations: 180.2 kB / 0.7953 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002879/0.262, allocations: 481.2 kB / 0.7958 GB, free: 324 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.682e-05/0.2621, allocations: 108.9 kB / 0.7959 GB, free: 208 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.666e-05/0.2621, allocations: 105 kB / 0.796 GB, free: 96 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.683e-05/0.2622, allocations: 180.2 kB / 0.7962 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.079e-05/0.2622, allocations: 188.2 kB / 0.7964 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.342e-05/0.2623, allocations: 180.2 kB / 0.7965 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.383e-05/0.2624, allocations: 184.4 kB / 0.7967 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001405/0.2625, allocations: 323.6 kB / 0.797 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.2626, allocations: 205.7 kB / 0.7972 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.511e-05/0.2627, allocations: 180.2 kB / 0.7974 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.2629, allocations: 104.9 kB / 0.7975 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.466e-05/0.2629, allocations: 192.2 kB / 0.7977 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.327e-05/0.263, allocations: 101 kB / 0.7978 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002528/0.2633, allocations: 283 kB / 0.798 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2633, allocations: 0 / 0.798 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003959/0.2637, allocations: 84 kB / 0.7981 GB, free: 13.83 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000621/0.2643, allocations: 0.9527 MB / 0.799 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002409/0.2646, allocations: 159.9 kB / 0.7992 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2646, allocations: 0 / 0.7992 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 5.43e-06/0.2646, allocations: 11.94 kB / 0.7992 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.265, allocations: 467.9 kB / 0.7997 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002654/0.2676, allocations: 2.912 MB / 0.8025 GB, free: 9.191 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.268, allocations: 0.7704 MB / 0.8032 GB, free: 8.395 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.185e-05/0.268, allocations: 4 kB / 0.8033 GB, free: 8.391 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.181e-05/0.2681, allocations: 59.41 kB / 0.8033 GB, free: 8.336 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.2681, allocations: 0 / 0.8033 GB, free: 8.336 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02301/0.2911, allocations: 6.393 MB / 0.8096 GB, free: 2.074 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.763/8.054, allocations: 7.125 kB / 0.8096 GB, free: 2.07 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1)