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.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.0007963/0.0007963, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007892/0.0007892, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8629/0.8629, allocations: 177.2 MB / 203.5 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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.001398/0.001398, allocations: 231.9 kB / 260.2 MB, free: 13.01 MB / 250.7 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 0.6494/0.6494, allocations: 138.4 MB / 455.1 MB, free: 30.09 MB / 410.7 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: translateModel(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.6475 GB, free: 1.426 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.599e-05/1.735e-05, allocations: 2.281 kB / 0.6475 GB, free: 1.422 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.2087/0.2088, allocations: 1.414 MB / 0.6489 GB, free: 56.48 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001431/0.2102, allocations: 1.743 MB / 0.6506 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.419e-05/0.2102, allocations: 0.9062 kB / 0.6506 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0007091/0.2109, allocations: 365 kB / 0.6509 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 3.552e-05/0.211, allocations: 20.17 kB / 0.651 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 3.397e-06/0.211, allocations: 0.5625 kB / 0.651 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.2111, allocations: 137.7 kB / 0.6511 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.009e-05/0.2112, allocations: 6.688 kB / 0.6511 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 7.13e-05/0.2112, allocations: 65.7 kB / 0.6512 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 9.271e-05/0.2113, allocations: 50.61 kB / 0.6512 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.2113, allocations: 1.781 kB / 0.6512 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002446/0.2116, allocations: 180.3 kB / 0.6514 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 3.975e-05/0.2116, allocations: 32.89 kB / 0.6514 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.858e-05/0.2117, allocations: 48.53 kB / 0.6515 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002947/0.212, allocations: 296.9 kB / 0.6517 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.212, allocations: 6.062 kB / 0.6517 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.232e-06/0.212, allocations: 0.5 kB / 0.6517 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.212, allocations: 0 / 0.6517 GB, free: 55.59 MB / 0.5573 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.0003967/0.2124, allocations: 422.7 kB / 0.6521 GB, free: 55.26 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.2124, allocations: 10.56 kB / 0.6522 GB, free: 55.26 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.69e-05/0.2125, allocations: 95 kB / 0.6522 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.2126, allocations: 236.9 kB / 0.6525 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.2126, allocations: 157.7 kB / 0.6526 GB, free: 54.81 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.2126, allocations: 155.5 kB / 0.6528 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 2.901e-05/0.2127, allocations: 101.5 kB / 0.6529 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.2127, allocations: 77.41 kB / 0.6529 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.2127, allocations: 156.6 kB / 0.6531 GB, free: 54.33 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.2127, allocations: 157.6 kB / 0.6532 GB, free: 54.18 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.388e-05/0.2127, allocations: 153.4 kB / 0.6534 GB, free: 54.03 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001529/0.2129, allocations: 459.5 kB / 0.6538 GB, free: 53.61 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 3.181e-05/0.2129, allocations: 170.3 kB / 0.654 GB, free: 53.44 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.146e-05/0.2129, allocations: 80.14 kB / 0.6541 GB, free: 53.36 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.407e-06/0.2129, allocations: 81.62 kB / 0.6541 GB, free: 53.28 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.343e-05/0.2129, allocations: 108.8 kB / 0.6542 GB, free: 53.16 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.2129, allocations: 0 / 0.6542 GB, free: 53.16 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 9.157e-05/0.213, allocations: 51.12 kB / 0.6543 GB, free: 53.12 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.101e-05/0.213, allocations: 131.8 kB / 0.6544 GB, free: 52.98 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.2132, allocations: 325.5 kB / 0.6547 GB, free: 52.86 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.44e-06/0.2132, allocations: 29.52 kB / 0.6548 GB, free: 52.83 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.548e-05/0.2133, allocations: 118.5 kB / 0.6549 GB, free: 52.74 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/0.2133, allocations: 7.656 kB / 0.6549 GB, free: 52.73 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.524e-05/0.2133, allocations: 61.62 kB / 0.6549 GB, free: 52.72 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.282e-05/0.2134, allocations: 328.7 kB / 0.6553 GB, free: 52.41 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.685e-05/0.2134, allocations: 64.27 kB / 0.6553 GB, free: 52.41 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.908e-05/0.2135, allocations: 120.5 kB / 0.6554 GB, free: 52.35 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.2136, allocations: 206.7 kB / 0.6556 GB, free: 52.29 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2136, allocations: 1.938 kB / 0.6556 GB, free: 52.29 MB / 0.5573 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002538/0.2139, allocations: 233.9 kB / 0.6559 GB, free: 52.24 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.2139, allocations: 6.234 kB / 0.6559 GB, free: 52.24 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.2139, allocations: 3.531 kB / 0.6559 GB, free: 52.24 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.2139, allocations: 3 kB / 0.6559 GB, free: 52.24 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.763e-06/0.2139, allocations: 2.641 kB / 0.6559 GB, free: 52.24 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.2139, allocations: 5.656 kB / 0.6559 GB, free: 52.24 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.485e-05/0.214, allocations: 26.98 kB / 0.6559 GB, free: 52.22 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.214, allocations: 10.91 kB / 0.6559 GB, free: 52.21 MB / 0.5573 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.0001125/0.2141, allocations: 226 kB / 0.6561 GB, free: 52.02 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/0.2141, allocations: 124.1 kB / 0.6562 GB, free: 51.9 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.74e-05/0.2142, allocations: 116.6 kB / 0.6564 GB, free: 51.79 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/0.2142, allocations: 182.1 kB / 0.6565 GB, free: 51.61 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-05/0.2142, allocations: 183.4 kB / 0.6567 GB, free: 51.42 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.2142, allocations: 185.8 kB / 0.6569 GB, free: 51.23 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.676e-05/0.2143, allocations: 401.7 kB / 0.6573 GB, free: 50.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.2143, allocations: 105 kB / 0.6574 GB, free: 50.73 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.875e-06/0.2143, allocations: 108 kB / 0.6575 GB, free: 50.62 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.265e-05/0.2143, allocations: 179.9 kB / 0.6576 GB, free: 50.45 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.2143, allocations: 182.5 kB / 0.6578 GB, free: 50.26 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.169e-05/0.2143, allocations: 179.6 kB / 0.658 GB, free: 50.08 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.181e-05/0.2144, allocations: 182.9 kB / 0.6582 GB, free: 49.9 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.287e-05/0.2144, allocations: 320.8 kB / 0.6585 GB, free: 49.57 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.627e-05/0.2144, allocations: 124.2 kB / 0.6586 GB, free: 49.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/0.2145, allocations: 180.7 kB / 0.6588 GB, free: 49.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.468e-05/0.2145, allocations: 107.8 kB / 0.6589 GB, free: 49.16 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.493e-05/0.2145, allocations: 178 kB / 0.659 GB, free: 48.98 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.2145, allocations: 113.5 kB / 0.6591 GB, free: 48.87 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001143/0.2146, allocations: 214.4 kB / 0.6593 GB, free: 48.76 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2146, allocations: 0 / 0.6593 GB, free: 48.76 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000212/0.2149, allocations: 67.5 kB / 0.6594 GB, free: 48.75 MB / 0.5573 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.0002015/0.2151, allocations: 278 kB / 0.6597 GB, free: 48.57 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001115/0.2152, allocations: 81.55 kB / 0.6597 GB, free: 48.54 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.2152, allocations: 1.812 kB / 0.6597 GB, free: 48.54 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 8.82e-07/0.2152, allocations: 0 / 0.6597 GB, free: 48.54 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001881/0.2154, allocations: 464.3 kB / 0.6602 GB, free: 48.09 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003206/0.2157, allocations: 412.4 kB / 0.6606 GB, free: 47.79 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.584e-05/0.2157, allocations: 133.6 kB / 0.6607 GB, free: 47.71 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.36e-05/0.2158, allocations: 10.34 kB / 0.6607 GB, free: 47.7 MB / 0.5573 GB Notification: Performance of SimCode: time 3.81e-07/0.2158, allocations: 0 / 0.6607 GB, free: 47.7 MB / 0.5573 GB Notification: Performance of Templates: time 0.00276/0.2185, allocations: 2.447 MB / 0.6631 GB, free: 47.48 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.135579455643892] Failed to read output from testmodel.py, exit status != 0: 0.22378263715654612 0.23032043600000002 0.01696278 Calling exit ...