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.547/1.547, allocations: 288.4 MB / 303.6 MB, free: 8.094 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.000878/0.0008778, allocations: 175.4 kB / 372.2 MB, free: 10.14 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.187/1.187, allocations: 205.4 MB / 0.631 GB, free: 9.902 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.0006407/0.0006407, allocations: 102.2 kB / 0.7444 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003401/0.0003401, allocations: 12.53 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1674, allocations: 115.3 MB / 0.9802 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001255/0.1687, allocations: 1.104 MB / 0.9813 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001578/0.1703, allocations: 1.762 MB / 0.983 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.92e-05/0.1703, allocations: 0 / 0.983 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009341/0.1713, allocations: 343.7 kB / 0.9833 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.561e-05/0.1713, allocations: 27.91 kB / 0.9833 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 2.986e-06/0.1713, allocations: 0 / 0.9833 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.1715, allocations: 123.2 kB / 0.9835 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.705e-05/0.1716, allocations: 21.5 kB / 0.9835 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.007e-05/0.1716, allocations: 43.8 kB / 0.9835 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.278e-05/0.1717, allocations: 63.78 kB / 0.9836 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.1718, allocations: 4 kB / 0.9836 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004499/0.1722, allocations: 175.9 kB / 0.9838 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.292e-05/0.1723, allocations: 31.89 kB / 0.9838 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.917e-05/0.1723, allocations: 97.31 kB / 0.9839 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002099/0.1726, allocations: 207.5 kB / 0.9841 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1726, allocations: 0 / 0.9841 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1726, allocations: 0 / 0.9841 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.1726, allocations: 0 / 0.9841 GB, free: 23.27 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.0005103/0.1731, allocations: 479.2 kB / 0.9845 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.1731, allocations: 19.91 kB / 0.9846 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.338e-05/0.1732, allocations: 106 kB / 0.9847 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001348/0.1733, allocations: 95.94 kB / 0.9847 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.1735, allocations: 291.3 kB / 0.985 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/0.1735, allocations: 154.9 kB / 0.9852 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.1735, allocations: 158.9 kB / 0.9853 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.757e-05/0.1736, allocations: 104.9 kB / 0.9854 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.1736, allocations: 75.28 kB / 0.9855 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.376e-05/0.1736, allocations: 150.6 kB / 0.9856 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.862e-05/0.1737, allocations: 150.6 kB / 0.9858 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.113e-05/0.1737, allocations: 158.5 kB / 0.9859 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002272/0.1739, allocations: 0.5017 MB / 0.9864 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.377e-05/0.174, allocations: 165.1 kB / 0.9866 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.747e-05/0.174, allocations: 88.08 kB / 0.9867 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.174, allocations: 83.22 kB / 0.9867 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.174, allocations: 117.8 kB / 0.9869 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.1741, allocations: 0 / 0.9869 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 0.0001453/0.1742, allocations: 49.42 kB / 0.9869 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.1742, allocations: 126.7 kB / 0.987 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00022/0.1745, allocations: 310.4 kB / 0.9873 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.836e-06/0.1745, allocations: 29.7 kB / 0.9873 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.257e-05/0.1745, allocations: 120.4 kB / 0.9875 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/0.1745, allocations: 0 / 0.9875 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/0.1745, allocations: 0 / 0.9875 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.696e-05/0.1746, allocations: 330.8 kB / 0.9878 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.5e-05/0.1747, allocations: 63.95 kB / 0.9878 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.994e-05/0.1748, allocations: 117.9 kB / 0.988 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.1749, allocations: 209.9 kB / 0.9882 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1749, allocations: 0 / 0.9882 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003191/0.1753, allocations: 237.2 kB / 0.9884 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.1753, allocations: 4 kB / 0.9884 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.1753, allocations: 8.062 kB / 0.9884 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.1753, allocations: 0 / 0.9884 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.224e-06/0.1753, allocations: 4 kB / 0.9884 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.1753, allocations: 8.203 kB / 0.9884 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.1754, allocations: 31.53 kB / 0.9884 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.1754, allocations: 4 kB / 0.9884 GB, free: 18.52 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.000126/0.1756, allocations: 229 kB / 0.9887 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.127e-05/0.1756, allocations: 116.7 kB / 0.9888 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.872e-05/0.1757, allocations: 125.6 kB / 0.9889 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.623e-05/0.1757, allocations: 184.2 kB / 0.9891 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.01e-05/0.1757, allocations: 176.3 kB / 0.9892 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.231e-05/0.1758, allocations: 192.1 kB / 0.9894 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.1759, allocations: 449.2 kB / 0.9898 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/0.1759, allocations: 104.9 kB / 0.9899 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.526e-05/0.176, allocations: 108.9 kB / 0.99 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-05/0.176, allocations: 184.3 kB / 0.9902 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/0.176, allocations: 180.4 kB / 0.9904 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.102e-05/0.1761, allocations: 184.3 kB / 0.9906 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-05/0.1761, allocations: 184.2 kB / 0.9907 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.278e-05/0.1762, allocations: 327.5 kB / 0.9911 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.65e-05/0.1762, allocations: 201.8 kB / 0.9912 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.238e-05/0.1763, allocations: 176.3 kB / 0.9914 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.295e-05/0.1764, allocations: 105 kB / 0.9915 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.391e-05/0.1764, allocations: 188.2 kB / 0.9917 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.1764, allocations: 105 kB / 0.9918 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001377/0.1766, allocations: 209.9 kB / 0.992 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2e-07/0.1766, allocations: 0 / 0.992 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003002/0.1769, allocations: 64 kB / 0.9921 GB, free: 14.59 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.0003929/0.1773, allocations: 0.9177 MB / 0.993 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001381/0.1774, allocations: 103.9 kB / 0.9931 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1774, allocations: 0 / 0.9931 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.1774, allocations: 448 / 0.9931 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.1778, allocations: 0.5269 MB / 0.9936 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.1789, allocations: 1.188 MB / 0.9947 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000148/0.1791, allocations: 0.7395 MB / 0.9954 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.304e-05/0.1791, allocations: 0 / 0.9954 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.271e-05/0.1792, allocations: 35.42 kB / 0.9955 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of SimCode: time 3.6e-07/0.1792, allocations: 3.938 kB / 0.9955 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4592/0.6384, allocations: 4.495 MB / 0.9999 GB, free: 6.637 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001796/0.6387, allocations: 221 kB / 1 GB, free: 6.398 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.863/2.502, allocations: 0 / 1 GB, free: 6.398 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)