Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.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_low,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 109.4 kB / 15.69 MB, free: 128 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.001684/0.001684, allocations: 186.8 kB / 16.62 MB, free: 6.613 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.429/1.429, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.692/1.692, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001426/0.001426, allocations: 67.33 kB / 0.6718 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.234, allocations: 114.5 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002935/0.237, allocations: 1.405 MB / 0.785 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00217/0.2392, allocations: 1.927 MB / 0.7869 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.043e-05/0.2392, allocations: 7.938 kB / 0.7869 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009291/0.2402, allocations: 396.5 kB / 0.7873 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.508e-05/0.2403, allocations: 15.91 kB / 0.7873 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.428e-06/0.2403, allocations: 0 / 0.7873 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001924/0.2405, allocations: 119.2 kB / 0.7874 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.436e-05/0.2405, allocations: 21.5 kB / 0.7874 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.203e-05/0.2406, allocations: 51.78 kB / 0.7875 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.2407, allocations: 59.72 kB / 0.7875 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.2407, allocations: 0 / 0.7875 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004246/0.2412, allocations: 187.9 kB / 0.7877 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.14e-05/0.2412, allocations: 27.91 kB / 0.7877 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.018e-05/0.2413, allocations: 71.55 kB / 0.7878 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003958/0.2417, allocations: 295.1 kB / 0.7881 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2417, allocations: 0 / 0.7881 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2417, allocations: 0 / 0.7881 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.2417, allocations: 4 kB / 0.7881 GB, free: 8.699 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.0006514/0.2424, allocations: 498.5 kB / 0.7886 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.2424, allocations: 8.031 kB / 0.7886 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.553e-05/0.2425, allocations: 106 kB / 0.7887 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001579/0.2426, allocations: 96.03 kB / 0.7888 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.2428, allocations: 291.2 kB / 0.789 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.552e-05/0.2429, allocations: 162.9 kB / 0.7892 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.75e-05/0.243, allocations: 150.9 kB / 0.7893 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.362e-05/0.243, allocations: 108.9 kB / 0.7894 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/0.2431, allocations: 75.28 kB / 0.7895 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.54e-05/0.2431, allocations: 158.5 kB / 0.7897 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.553e-05/0.2432, allocations: 154.6 kB / 0.7898 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.958e-05/0.2432, allocations: 150.6 kB / 0.7899 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003628/0.2436, allocations: 0.5017 MB / 0.7904 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.709e-05/0.2437, allocations: 173.1 kB / 0.7906 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.851e-05/0.2437, allocations: 84.14 kB / 0.7907 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.045e-05/0.2438, allocations: 79.22 kB / 0.7908 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/0.2438, allocations: 105.8 kB / 0.7909 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.2438, allocations: 0 / 0.7909 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 0.0001667/0.244, allocations: 49.5 kB / 0.7909 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.244, allocations: 130.6 kB / 0.791 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002954/0.2443, allocations: 330.2 kB / 0.7913 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.2444, allocations: 29.7 kB / 0.7914 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.022e-05/0.2444, allocations: 116.4 kB / 0.7915 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-06/0.2444, allocations: 0 / 0.7915 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.119e-05/0.2445, allocations: 57.69 kB / 0.7915 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.2446, allocations: 334.8 kB / 0.7919 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.721e-05/0.2447, allocations: 67.73 kB / 0.7919 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.2448, allocations: 118 kB / 0.792 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002141/0.245, allocations: 209.8 kB / 0.7922 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2451, allocations: 3.938 kB / 0.7922 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000388/0.2454, allocations: 233.2 kB / 0.7925 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.2455, allocations: 4 kB / 0.7925 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.2455, allocations: 4.219 kB / 0.7925 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.2455, allocations: 4 kB / 0.7925 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.705e-06/0.2455, allocations: 7.984 kB / 0.7925 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.2455, allocations: 7.938 kB / 0.7925 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.2456, allocations: 27.53 kB / 0.7925 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.2456, allocations: 4 kB / 0.7925 GB, free: 3.855 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.0001981/0.2458, allocations: 225.7 kB / 0.7927 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.979e-05/0.2459, allocations: 120.7 kB / 0.7928 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.884e-05/0.246, allocations: 121.8 kB / 0.793 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.983e-05/0.246, allocations: 180.2 kB / 0.7931 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.196e-05/0.2461, allocations: 184.2 kB / 0.7933 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.616e-05/0.2462, allocations: 176.3 kB / 0.7935 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002605/0.2464, allocations: 449.2 kB / 0.7939 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.844e-05/0.2465, allocations: 116.9 kB / 0.794 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.958e-05/0.2465, allocations: 105 kB / 0.7941 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.689e-05/0.2466, allocations: 184.2 kB / 0.7943 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.628e-05/0.2466, allocations: 176.3 kB / 0.7945 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.568e-05/0.2467, allocations: 180.2 kB / 0.7946 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.894e-05/0.2467, allocations: 180.2 kB / 0.7948 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.2469, allocations: 323.6 kB / 0.7951 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.904e-05/0.247, allocations: 201.7 kB / 0.7953 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.469e-05/0.2471, allocations: 176.3 kB / 0.7955 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.2472, allocations: 108.9 kB / 0.7956 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.512e-05/0.2473, allocations: 188.3 kB / 0.7958 GB, free: 324 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.094e-05/0.2473, allocations: 109.2 kB / 0.7959 GB, free: 208 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001921/0.2475, allocations: 214 kB / 0.7961 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2475, allocations: 0 / 0.7961 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003304/0.2478, allocations: 67.98 kB / 0.7961 GB, free: 15.93 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.0005306/0.2484, allocations: 0.9217 MB / 0.797 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001606/0.2485, allocations: 104.2 kB / 0.7971 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.2486, allocations: 8.062 kB / 0.7971 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 1.372e-06/0.2486, allocations: 3.938 kB / 0.7971 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.2489, allocations: 460.2 kB / 0.7976 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002123/0.251, allocations: 2.436 MB / 0.8 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.2513, allocations: 0.7353 MB / 0.8007 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.39e-05/0.2514, allocations: 7.984 kB / 0.8007 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.621e-05/0.2514, allocations: 35.42 kB / 0.8007 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of SimCode: time 2.41e-07/0.2514, allocations: 0 / 0.8007 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01844/0.2699, allocations: 4.818 MB / 0.8054 GB, free: 6.375 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.479/7.749, allocations: 11.5 kB / 0.8054 GB, free: 6.371 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1)