Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 108.8 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002405/0.002405, allocations: 274.6 kB / 303 MB, free: 9.582 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.147/1.147, allocations: 180.9 MB / 0.5261 GB, free: 14.68 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00268/0.00268, allocations: 100.3 kB / 0.7247 GB, free: 40.14 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1466, allocations: 94.15 MB / 0.8167 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002417/0.149, allocations: 1.403 MB / 0.8181 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002307/0.1513, allocations: 1.952 MB / 0.82 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.404e-05/0.1514, allocations: 0 / 0.82 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008855/0.1523, allocations: 391.8 kB / 0.8203 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.494e-05/0.1523, allocations: 15.91 kB / 0.8204 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 3.356e-06/0.1523, allocations: 0 / 0.8204 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002068/0.1525, allocations: 131.1 kB / 0.8205 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.371e-05/0.1526, allocations: 17.5 kB / 0.8205 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.366e-05/0.1526, allocations: 43.73 kB / 0.8205 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.1527, allocations: 63.7 kB / 0.8206 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.1527, allocations: 4 kB / 0.8206 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000415/0.1532, allocations: 183.9 kB / 0.8208 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.822e-05/0.1532, allocations: 27.89 kB / 0.8208 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.911e-05/0.1533, allocations: 79.55 kB / 0.8209 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004234/0.1537, allocations: 283 kB / 0.8212 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.145e-06/0.1537, allocations: 4 kB / 0.8212 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1537, allocations: 4 kB / 0.8212 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.1537, allocations: 0 / 0.8212 GB, free: 0.9258 MB / 0.5606 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.0007205/0.1544, allocations: 0.4905 MB / 0.8216 GB, free: 396 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.1545, allocations: 8.031 kB / 0.8216 GB, free: 388 kB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.59e-05/0.1545, allocations: 106 kB / 0.8218 GB, free: 272 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00016/0.1547, allocations: 96.12 kB / 0.8218 GB, free: 176 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002506/0.155, allocations: 303.3 kB / 0.8221 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.105e-05/0.155, allocations: 150.9 kB / 0.8223 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.747e-05/0.1551, allocations: 154.9 kB / 0.8224 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.936e-05/0.1552, allocations: 104.9 kB / 0.8225 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.468e-05/0.1552, allocations: 75.28 kB / 0.8226 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.994e-05/0.1552, allocations: 150.6 kB / 0.8227 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.087e-05/0.1553, allocations: 158.6 kB / 0.8229 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.266e-05/0.1554, allocations: 158.5 kB / 0.823 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00037/0.1557, allocations: 0.4978 MB / 0.8235 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.978e-05/0.1558, allocations: 169.1 kB / 0.8237 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.592e-05/0.1559, allocations: 84.14 kB / 0.8238 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.547e-05/0.1559, allocations: 79.22 kB / 0.8238 GB, free: 14 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.176e-05/0.156, allocations: 105.8 kB / 0.8239 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.156, allocations: 3.938 kB / 0.8239 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 0.0001704/0.1561, allocations: 57.48 kB / 0.824 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.706e-05/0.1562, allocations: 126.7 kB / 0.8241 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003253/0.1565, allocations: 322.4 kB / 0.8244 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.1565, allocations: 25.7 kB / 0.8245 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.852e-05/0.1566, allocations: 120.5 kB / 0.8246 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-06/0.1566, allocations: 0 / 0.8246 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.044e-05/0.1567, allocations: 61.69 kB / 0.8246 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.1568, allocations: 334.8 kB / 0.825 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.553e-05/0.1569, allocations: 59.95 kB / 0.825 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.157, allocations: 125.9 kB / 0.8251 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000233/0.1573, allocations: 197.9 kB / 0.8253 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1573, allocations: 4 kB / 0.8253 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000411/0.1577, allocations: 237.3 kB / 0.8255 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.1577, allocations: 10.28 kB / 0.8256 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.1577, allocations: 16.14 kB / 0.8256 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.1577, allocations: 0 / 0.8256 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.966e-06/0.1577, allocations: 4 kB / 0.8256 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.1577, allocations: 0 / 0.8256 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.1578, allocations: 35.67 kB / 0.8256 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.1579, allocations: 4 kB / 0.8256 GB, free: 12.08 MB / 0.5762 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.0001983/0.1581, allocations: 221.1 kB / 0.8258 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.929e-05/0.1581, allocations: 128.8 kB / 0.8259 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.987e-05/0.1582, allocations: 113.8 kB / 0.8261 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.006e-05/0.1583, allocations: 180.2 kB / 0.8262 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.265e-05/0.1583, allocations: 180.3 kB / 0.8264 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-05/0.1584, allocations: 184.2 kB / 0.8266 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003102/0.1587, allocations: 457.2 kB / 0.827 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.11e-05/0.1588, allocations: 108.9 kB / 0.8271 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.587e-05/0.1588, allocations: 104.9 kB / 0.8272 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.901e-05/0.1589, allocations: 176.3 kB / 0.8274 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.287e-05/0.1589, allocations: 180.3 kB / 0.8276 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.361e-05/0.159, allocations: 184.2 kB / 0.8277 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.521e-05/0.1591, allocations: 184.3 kB / 0.8279 GB, free: 9.586 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/0.1593, allocations: 315.6 kB / 0.8282 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.1594, allocations: 209.9 kB / 0.8284 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.538e-05/0.1595, allocations: 184.1 kB / 0.8286 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.1596, allocations: 101 kB / 0.8287 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.705e-05/0.1597, allocations: 192.2 kB / 0.8289 GB, free: 8.535 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.219e-05/0.1597, allocations: 101 kB / 0.829 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002053/0.1599, allocations: 213.9 kB / 0.8292 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1599, allocations: 0 / 0.8292 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003425/0.1603, allocations: 63.92 kB / 0.8292 GB, free: 8.156 MB / 0.5762 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.0006122/0.1609, allocations: 0.9381 MB / 0.8301 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000153/0.161, allocations: 83.89 kB / 0.8302 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.161, allocations: 0 / 0.8302 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/0.161, allocations: 0 / 0.8302 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.1614, allocations: 465.4 kB / 0.8307 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002416/0.1638, allocations: 2.446 MB / 0.8331 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.1642, allocations: 0.7431 MB / 0.8338 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.115e-05/0.1642, allocations: 0 / 0.8338 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.105e-05/0.1642, allocations: 39.42 kB / 0.8338 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of SimCode: time 3.6e-07/0.1642, allocations: 0 / 0.8338 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02639/0.1906, allocations: 4.88 MB / 0.8386 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.617/7.808, allocations: 13.27 kB / 0.8386 GB, free: 14.55 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_Transmission_Functions_Validation_SelectCable_low_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.606634496245533] Failed to read output from testmodel.py, exit status != 0: 7.873838532716036 7.887011891 7.730684641 Calling exit ...