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.001637/0.001637, allocations: 81.16 kB / 19.18 MB, free: 2.516 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.001849/0.001849, allocations: 162.5 kB / 22.46 MB, free: 5.375 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.572/1.572, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.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.002399/0.002399, allocations: 245.4 kB / 259.4 MB, free: 460 kB / 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.086/1.086, allocations: 138.4 MB / 454.3 MB, free: 1.973 MB / 366.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: translateModel(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.6467 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.526e-05/2.685e-05, allocations: 5.797 kB / 0.6468 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002482/0.002509, allocations: 1.443 MB / 0.6482 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003238/0.005747, allocations: 2.39 MB / 0.6505 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.125e-05/0.005778, allocations: 0 / 0.6505 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001542/0.007321, allocations: 0.558 MB / 0.651 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.021e-05/0.007371, allocations: 15.91 kB / 0.6511 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 6.502e-06/0.007378, allocations: 4 kB / 0.6511 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002659/0.007643, allocations: 166.8 kB / 0.6512 GB, free: 444 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.649e-05/0.0077, allocations: 12.59 kB / 0.6512 GB, free: 428 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.00782, allocations: 83.78 kB / 0.6513 GB, free: 344 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.007963, allocations: 63.77 kB / 0.6514 GB, free: 280 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.00798, allocations: 4 kB / 0.6514 GB, free: 276 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2876/0.2956, allocations: 405.6 kB / 0.6518 GB, free: 53.48 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.176e-05/0.2957, allocations: 40.61 kB / 0.6518 GB, free: 53.48 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001473/0.2958, allocations: 55.78 kB / 0.6519 GB, free: 53.48 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008114/0.2967, allocations: 456 kB / 0.6523 GB, free: 53.46 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2967, allocations: 0.5312 kB / 0.6523 GB, free: 53.46 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.243e-06/0.2967, allocations: 1.375 kB / 0.6523 GB, free: 53.46 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.331e-05/0.2967, allocations: 0 / 0.6523 GB, free: 53.46 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.0006367/0.2973, allocations: 483.7 kB / 0.6528 GB, free: 53.11 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.2973, allocations: 12.34 kB / 0.6528 GB, free: 53.11 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000145/0.2975, allocations: 107.2 kB / 0.6529 GB, free: 53.02 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.2977, allocations: 246.9 kB / 0.6531 GB, free: 52.8 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.2977, allocations: 153.9 kB / 0.6532 GB, free: 52.65 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/0.2977, allocations: 155.6 kB / 0.6534 GB, free: 52.5 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.888e-05/0.2977, allocations: 103.7 kB / 0.6535 GB, free: 52.39 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.2978, allocations: 79.03 kB / 0.6536 GB, free: 52.32 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.2978, allocations: 150.9 kB / 0.6537 GB, free: 52.17 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.787e-05/0.2978, allocations: 159.2 kB / 0.6539 GB, free: 52.02 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.125e-05/0.2978, allocations: 155.1 kB / 0.654 GB, free: 51.87 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002238/0.298, allocations: 494.5 kB / 0.6545 GB, free: 51.44 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.6e-05/0.2981, allocations: 172.8 kB / 0.6546 GB, free: 51.27 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.389e-05/0.2981, allocations: 83.47 kB / 0.6547 GB, free: 51.19 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.2981, allocations: 75.91 kB / 0.6548 GB, free: 51.11 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.635e-05/0.2981, allocations: 113.7 kB / 0.6549 GB, free: 51 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.2981, allocations: 0 / 0.6549 GB, free: 51 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 0.0001587/0.2983, allocations: 52.61 kB / 0.655 GB, free: 50.95 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.295e-05/0.2983, allocations: 127.4 kB / 0.6551 GB, free: 50.82 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003329/0.2986, allocations: 440.6 kB / 0.6555 GB, free: 50.68 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.904e-06/0.2987, allocations: 26.52 kB / 0.6555 GB, free: 50.65 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.058e-05/0.2987, allocations: 133.1 kB / 0.6557 GB, free: 50.56 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.435e-06/0.2987, allocations: 4.406 kB / 0.6557 GB, free: 50.56 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.353e-05/0.2988, allocations: 95.33 kB / 0.6557 GB, free: 50.54 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.99e-05/0.2988, allocations: 341.1 kB / 0.6561 GB, free: 50.23 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.332e-05/0.2989, allocations: 97.28 kB / 0.6562 GB, free: 50.23 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.299, allocations: 165.3 kB / 0.6563 GB, free: 50.17 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/0.2993, allocations: 301.3 kB / 0.6566 GB, free: 50.11 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2993, allocations: 5.812 kB / 0.6566 GB, free: 50.11 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004178/0.2997, allocations: 322.6 kB / 0.6569 GB, free: 50.07 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.2997, allocations: 7.969 kB / 0.6569 GB, free: 50.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.2997, allocations: 0 / 0.6569 GB, free: 50.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.2997, allocations: 3.906 kB / 0.6569 GB, free: 50.07 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.595e-06/0.2997, allocations: 7.094 kB / 0.6569 GB, free: 50.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.2997, allocations: 1.156 kB / 0.6569 GB, free: 50.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.2999, allocations: 49.2 kB / 0.657 GB, free: 50.03 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.2999, allocations: 7.312 kB / 0.657 GB, free: 50.03 MB / 0.5606 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.000116/0.3, allocations: 251.1 kB / 0.6572 GB, free: 49.84 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.738e-05/0.3, allocations: 131.1 kB / 0.6574 GB, free: 49.71 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.708e-05/0.3001, allocations: 112.5 kB / 0.6575 GB, free: 49.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.251e-05/0.3001, allocations: 186.6 kB / 0.6576 GB, free: 49.42 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-05/0.3001, allocations: 179.6 kB / 0.6578 GB, free: 49.24 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.523e-05/0.3001, allocations: 187.5 kB / 0.658 GB, free: 49.06 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/0.3003, allocations: 427.1 kB / 0.6584 GB, free: 48.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-05/0.3003, allocations: 103.8 kB / 0.6585 GB, free: 48.58 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.268e-05/0.3003, allocations: 101.6 kB / 0.6586 GB, free: 48.47 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.239e-05/0.3003, allocations: 186.1 kB / 0.6588 GB, free: 48.29 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.355e-05/0.3004, allocations: 180.4 kB / 0.659 GB, free: 48.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-05/0.3004, allocations: 182.6 kB / 0.6591 GB, free: 47.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.085e-05/0.3004, allocations: 176.3 kB / 0.6593 GB, free: 47.75 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.865e-05/0.3005, allocations: 332 kB / 0.6596 GB, free: 47.43 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.33e-05/0.3005, allocations: 132.3 kB / 0.6597 GB, free: 47.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.183e-05/0.3006, allocations: 179.3 kB / 0.6599 GB, free: 47.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.3007, allocations: 110.9 kB / 0.66 GB, free: 47.02 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.129e-05/0.3007, allocations: 180.1 kB / 0.6602 GB, free: 46.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.3007, allocations: 106.9 kB / 0.6603 GB, free: 46.73 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002076/0.3009, allocations: 279.6 kB / 0.6606 GB, free: 46.65 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.3009, allocations: 0 / 0.6606 GB, free: 46.65 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003393/0.3013, allocations: 90.14 kB / 0.6606 GB, free: 46.64 MB / 0.5606 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.0003019/0.3016, allocations: 316.6 kB / 0.6609 GB, free: 46.47 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001643/0.3017, allocations: 120.7 kB / 0.6611 GB, free: 46.47 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.3017, allocations: 0 / 0.6611 GB, free: 46.47 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.565e-06/0.3017, allocations: 3.281 kB / 0.6611 GB, free: 46.47 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.302, allocations: 466.2 kB / 0.6615 GB, free: 46.03 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004485/0.3025, allocations: 494.4 kB / 0.662 GB, free: 45.75 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.735e-05/0.3026, allocations: 170 kB / 0.6621 GB, free: 45.67 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.075e-05/0.3026, allocations: 3.531 kB / 0.6621 GB, free: 45.67 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.791e-05/0.3026, allocations: 11.47 kB / 0.6622 GB, free: 45.66 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/0.3026, allocations: 0 / 0.6622 GB, free: 45.66 MB / 0.5606 GB Notification: Performance of Templates: time 0.006039/0.3086, allocations: 3.043 MB / 0.6651 GB, free: 45.37 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.072149429470301] Failed to read output from testmodel.py, exit status != 0: 0.3159838058054447 0.32536298499999994 0.026294028 Calling exit ...