Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 110.6 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 219.7 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.384/1.384, allocations: 230.6 MB / 256 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00249/0.00249, allocations: 281.5 kB / 312.7 MB, free: 2.781 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.159/1.159, allocations: 180.6 MB / 0.5369 GB, free: 13.02 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002842/0.002842, allocations: 101.8 kB / 0.7396 GB, free: 28.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1509, allocations: 95.38 MB / 0.8327 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002725/0.1537, allocations: 1.457 MB / 0.8341 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003267/0.1569, allocations: 2.717 MB / 0.8368 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.164e-05/0.157, allocations: 4 kB / 0.8368 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00139/0.1583, allocations: 0.5852 MB / 0.8374 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.866e-05/0.1584, allocations: 15.91 kB / 0.8374 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.827e-06/0.1584, allocations: 0 / 0.8374 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000258/0.1587, allocations: 166.8 kB / 0.8375 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.765e-05/0.1587, allocations: 16.58 kB / 0.8376 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.69e-05/0.1588, allocations: 55.73 kB / 0.8376 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.1589, allocations: 83.58 kB / 0.8377 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.1589, allocations: 4 kB / 0.8377 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009773/0.1599, allocations: 475.3 kB / 0.8381 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.845e-05/0.16, allocations: 35.83 kB / 0.8382 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.1601, allocations: 91.38 kB / 0.8383 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006048/0.1607, allocations: 446 kB / 0.8387 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1607, allocations: 3.938 kB / 0.8387 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1607, allocations: 0 / 0.8387 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.1607, allocations: 0 / 0.8387 GB, free: 2.473 MB / 0.5762 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.000723/0.1614, allocations: 488.7 kB / 0.8392 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.483e-05/0.1614, allocations: 17.34 kB / 0.8392 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.915e-05/0.1615, allocations: 106 kB / 0.8393 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001617/0.1617, allocations: 104 kB / 0.8394 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.1619, allocations: 252.4 kB / 0.8396 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.303e-05/0.1619, allocations: 150.9 kB / 0.8398 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.972e-05/0.162, allocations: 158.9 kB / 0.8399 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.638e-05/0.1621, allocations: 105.5 kB / 0.84 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.448e-05/0.1621, allocations: 79.22 kB / 0.8401 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.715e-05/0.1622, allocations: 150.6 kB / 0.8402 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-05/0.1622, allocations: 150.6 kB / 0.8404 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.106e-05/0.1623, allocations: 154.5 kB / 0.8405 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004021/0.1627, allocations: 0.5085 MB / 0.841 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 8.708e-05/0.1628, allocations: 165.1 kB / 0.8412 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.938e-05/0.1628, allocations: 84.17 kB / 0.8413 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.366e-05/0.1629, allocations: 83.28 kB / 0.8413 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.478e-05/0.1629, allocations: 109.8 kB / 0.8414 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 2.465e-06/0.1629, allocations: 7.984 kB / 0.8415 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 0.0001788/0.1631, allocations: 61.39 kB / 0.8415 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.803e-05/0.1632, allocations: 126.7 kB / 0.8416 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004471/0.1636, allocations: 433.3 kB / 0.842 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.1636, allocations: 25.7 kB / 0.8421 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.986e-05/0.1637, allocations: 136.5 kB / 0.8422 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-06/0.1637, allocations: 0 / 0.8422 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.627e-05/0.1638, allocations: 97.66 kB / 0.8423 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.164, allocations: 338.8 kB / 0.8426 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.1641, allocations: 100.6 kB / 0.8427 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001694/0.1642, allocations: 165.8 kB / 0.8429 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000337/0.1646, allocations: 305.7 kB / 0.8432 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1646, allocations: 0 / 0.8432 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005279/0.1651, allocations: 333 kB / 0.8435 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.1651, allocations: 11.94 kB / 0.8435 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.1651, allocations: 4 kB / 0.8435 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.1652, allocations: 4 kB / 0.8435 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.326e-06/0.1652, allocations: 3.984 kB / 0.8435 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1652, allocations: 7.938 kB / 0.8435 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.1653, allocations: 43.56 kB / 0.8436 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.1653, allocations: 4.219 kB / 0.8436 GB, free: 13.25 MB / 0.5919 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.0002448/0.1656, allocations: 243.5 kB / 0.8438 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.294e-05/0.1656, allocations: 132.7 kB / 0.8439 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.356e-05/0.1657, allocations: 118.7 kB / 0.844 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-05/0.1658, allocations: 180.2 kB / 0.8442 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.286e-05/0.1659, allocations: 184.3 kB / 0.8444 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.205e-05/0.1659, allocations: 184.2 kB / 0.8446 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003531/0.1663, allocations: 444.2 kB / 0.845 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.717e-05/0.1663, allocations: 101 kB / 0.8451 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.884e-05/0.1664, allocations: 112.9 kB / 0.8452 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.029e-05/0.1665, allocations: 184.2 kB / 0.8454 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.967e-05/0.1665, allocations: 180.3 kB / 0.8455 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.877e-05/0.1666, allocations: 180.2 kB / 0.8457 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.999e-05/0.1667, allocations: 176.5 kB / 0.8459 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/0.1668, allocations: 339.6 kB / 0.8462 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.494e-05/0.1669, allocations: 132.7 kB / 0.8463 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.167, allocations: 184.2 kB / 0.8465 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.1672, allocations: 101 kB / 0.8466 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.293e-05/0.1673, allocations: 188.2 kB / 0.8468 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.372e-05/0.1673, allocations: 101 kB / 0.8469 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002827/0.1676, allocations: 275.1 kB / 0.8471 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1676, allocations: 0 / 0.8471 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003608/0.1679, allocations: 91.92 kB / 0.8472 GB, free: 9.301 MB / 0.5919 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.0006678/0.1686, allocations: 0.9566 MB / 0.8481 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002009/0.1688, allocations: 120.1 kB / 0.8483 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1688, allocations: 0 / 0.8483 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.296e-06/0.1688, allocations: 4 kB / 0.8483 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000415/0.1692, allocations: 463.9 kB / 0.8487 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002903/0.1721, allocations: 2.937 MB / 0.8516 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.1725, allocations: 0.7782 MB / 0.8523 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.335e-05/0.1725, allocations: 4 kB / 0.8523 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.045e-05/0.1726, allocations: 51.42 kB / 0.8524 GB, free: 3.824 MB / 0.5919 GB Notification: Performance of SimCode: time 3.31e-07/0.1726, allocations: 192 / 0.8524 GB, free: 3.824 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03322/0.2058, allocations: 6.57 MB / 0.8588 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.04, allocations: 12.08 kB / 0.8588 GB, free: 13.4 MB / 0.6075 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_Transmission_Functions_Validation_SelectCable_med_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.969984896015376] Failed to read output from testmodel.py, exit status != 0: 11.14598089712672 11.168691337 11.00393333 Calling exit ...