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 1.666/1.666, allocations: 287.4 MB / 302.6 MB, free: 8.254 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.0009885/0.0009886, allocations: 179.4 kB / 371.1 MB, free: 10.84 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.674/1.674, allocations: 205.4 MB / 0.6298 GB, free: 10.6 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.0007688/0.000769, allocations: 82.36 kB / 0.7431 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004139/0.000414, allocations: 9.969 kB / 0.8662 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2402, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001499/0.2418, allocations: 1.111 MB / 0.9798 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001521/0.2433, allocations: 1.751 MB / 0.9815 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.378e-05/0.2433, allocations: 0 / 0.9815 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007942/0.2441, allocations: 342.7 kB / 0.9819 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.89e-05/0.2442, allocations: 19.84 kB / 0.9819 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.145e-06/0.2442, allocations: 0 / 0.9819 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001893/0.2444, allocations: 131.2 kB / 0.982 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.939e-05/0.2445, allocations: 21.48 kB / 0.982 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.5e-05/0.2445, allocations: 43.81 kB / 0.9821 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.988e-05/0.2446, allocations: 59.78 kB / 0.9821 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.2446, allocations: 4 kB / 0.9821 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003604/0.245, allocations: 183.9 kB / 0.9823 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.216e-05/0.245, allocations: 27.91 kB / 0.9823 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.593e-05/0.2451, allocations: 53.58 kB / 0.9824 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002235/0.2453, allocations: 207.5 kB / 0.9826 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2453, allocations: 3.938 kB / 0.9826 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2453, allocations: 0 / 0.9826 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.2454, allocations: 0 / 0.9826 GB, free: 24.14 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.0005603/0.2459, allocations: 482.7 kB / 0.983 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.246, allocations: 8.031 kB / 0.983 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.335e-05/0.246, allocations: 106 kB / 0.9831 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001327/0.2461, allocations: 103.9 kB / 0.9832 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.2463, allocations: 291.3 kB / 0.9835 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.276e-05/0.2464, allocations: 150.9 kB / 0.9837 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.612e-05/0.2464, allocations: 154.9 kB / 0.9838 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.482e-05/0.2464, allocations: 108.9 kB / 0.9839 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.2465, allocations: 75.28 kB / 0.984 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.27e-05/0.2465, allocations: 154.5 kB / 0.9841 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.236e-05/0.2465, allocations: 154.6 kB / 0.9843 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.589e-05/0.2466, allocations: 162.5 kB / 0.9844 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002481/0.2468, allocations: 0.4978 MB / 0.9849 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.745e-05/0.2469, allocations: 169.1 kB / 0.9851 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.667e-05/0.2469, allocations: 80.14 kB / 0.9852 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.2469, allocations: 79.22 kB / 0.9852 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.2469, allocations: 113.8 kB / 0.9854 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.694e-06/0.2469, allocations: 0 / 0.9854 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 0.0001497/0.2471, allocations: 57.3 kB / 0.9854 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.2471, allocations: 126.7 kB / 0.9855 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002429/0.2474, allocations: 314.4 kB / 0.9858 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.327e-06/0.2474, allocations: 25.7 kB / 0.9859 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.829e-05/0.2475, allocations: 124.4 kB / 0.986 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.475e-06/0.2475, allocations: 0 / 0.986 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-06/0.2475, allocations: 4 kB / 0.986 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.235e-05/0.2475, allocations: 330.8 kB / 0.9863 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.935e-05/0.2476, allocations: 63.95 kB / 0.9864 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.912e-05/0.2477, allocations: 121.9 kB / 0.9865 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001801/0.2479, allocations: 205.9 kB / 0.9867 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2479, allocations: 0 / 0.9867 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003364/0.2483, allocations: 233.2 kB / 0.9869 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.2483, allocations: 14.17 kB / 0.9869 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.2483, allocations: 0 / 0.9869 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.2483, allocations: 7.938 kB / 0.9869 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.432e-06/0.2483, allocations: 0 / 0.9869 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.2483, allocations: 4 kB / 0.9869 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.957e-05/0.2484, allocations: 27.53 kB / 0.9869 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.2485, allocations: 4.297 kB / 0.9869 GB, free: 19.4 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.00017/0.2486, allocations: 231.3 kB / 0.9872 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.204e-05/0.2487, allocations: 120.7 kB / 0.9873 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.884e-05/0.2487, allocations: 113.8 kB / 0.9874 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.677e-05/0.2488, allocations: 180.3 kB / 0.9876 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.281e-05/0.2488, allocations: 188.2 kB / 0.9877 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-05/0.2488, allocations: 176.3 kB / 0.9879 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.249, allocations: 453.1 kB / 0.9883 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-05/0.249, allocations: 104.9 kB / 0.9884 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.803e-05/0.2491, allocations: 108.9 kB / 0.9885 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.234e-05/0.2491, allocations: 180.2 kB / 0.9887 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.666e-05/0.2492, allocations: 184.2 kB / 0.9889 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.979e-05/0.2492, allocations: 188.2 kB / 0.9891 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.083e-05/0.2492, allocations: 180.3 kB / 0.9892 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.675e-05/0.2493, allocations: 319.4 kB / 0.9895 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.006e-05/0.2494, allocations: 213.8 kB / 0.9897 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.183e-05/0.2495, allocations: 184.2 kB / 0.9899 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.609e-05/0.2496, allocations: 104.9 kB / 0.99 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.2496, allocations: 184.2 kB / 0.9902 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.2496, allocations: 101 kB / 0.9903 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000142/0.2498, allocations: 213.9 kB / 0.9905 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2498, allocations: 0 / 0.9905 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003164/0.2501, allocations: 64 kB / 0.9906 GB, free: 15.47 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.0004295/0.2505, allocations: 0.9227 MB / 0.9915 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001613/0.2507, allocations: 99.89 kB / 0.9916 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.2507, allocations: 0 / 0.9916 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.705e-06/0.2507, allocations: 4 kB / 0.9916 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.251, allocations: 0.5273 MB / 0.9921 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.2523, allocations: 1.184 MB / 0.9932 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001645/0.2525, allocations: 0.7355 MB / 0.994 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.288e-05/0.2525, allocations: 4 kB / 0.994 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.553e-05/0.2526, allocations: 39.42 kB / 0.994 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2526, allocations: 0 / 0.994 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01424/0.2668, allocations: 4.481 MB / 0.9984 GB, free: 7.523 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001356/0.267, allocations: 211.8 kB / 0.9986 GB, free: 7.285 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.868/2.135, allocations: 0 / 0.9986 GB, free: 7.285 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)