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.001436/0.001436, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001571/0.001571, allocations: 211.3 kB / 22.24 MB, free: 5.242 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.472/1.472, allocations: 230.6 MB / 256 MB, free: 7.777 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.002779/0.002779, allocations: 290.2 kB / 312.7 MB, free: 2.578 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.287/1.287, allocations: 180.6 MB / 0.5369 GB, free: 14.5 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: 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: 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.003015/0.003015, allocations: 106.6 kB / 0.74 GB, free: 28.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1928, allocations: 95.38 MB / 0.8331 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002652/0.1954, allocations: 1.421 MB / 0.8345 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003272/0.1987, allocations: 2.411 MB / 0.8369 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.243e-05/0.1987, allocations: 4 kB / 0.8369 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001385/0.2001, allocations: 0.5362 MB / 0.8374 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.131e-05/0.2002, allocations: 19.84 kB / 0.8374 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.707e-06/0.2002, allocations: 4 kB / 0.8374 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002497/0.2004, allocations: 155 kB / 0.8376 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.843e-05/0.2005, allocations: 12.58 kB / 0.8376 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 8.351e-05/0.2006, allocations: 67.66 kB / 0.8376 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.2007, allocations: 79.58 kB / 0.8377 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.2007, allocations: 4 kB / 0.8377 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008413/0.2016, allocations: 407.5 kB / 0.8381 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.369e-05/0.2016, allocations: 35.78 kB / 0.8381 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.307e-05/0.2017, allocations: 79.53 kB / 0.8382 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005934/0.2023, allocations: 434 kB / 0.8386 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2023, allocations: 0 / 0.8386 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.482e-06/0.2023, allocations: 0 / 0.8386 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.2023, allocations: 0 / 0.8386 GB, free: 2.16 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.0007735/0.2031, allocations: 0.4928 MB / 0.8391 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.2031, allocations: 13.34 kB / 0.8391 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.2033, allocations: 108 kB / 0.8392 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.2035, allocations: 240.6 kB / 0.8395 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.981e-05/0.2036, allocations: 150.9 kB / 0.8396 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.053e-05/0.2037, allocations: 158.9 kB / 0.8397 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.932e-05/0.2037, allocations: 105.5 kB / 0.8398 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.454e-05/0.2038, allocations: 75.47 kB / 0.8399 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.588e-05/0.2038, allocations: 158.5 kB / 0.8401 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.277e-05/0.2039, allocations: 154.6 kB / 0.8402 GB, free: 468 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.313e-05/0.204, allocations: 154.5 kB / 0.8404 GB, free: 312 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003978/0.2044, allocations: 497.2 kB / 0.8408 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.2045, allocations: 169.1 kB / 0.841 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.291e-05/0.2045, allocations: 80.14 kB / 0.8411 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.58e-05/0.2045, allocations: 79.28 kB / 0.8412 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.512e-05/0.2046, allocations: 109.9 kB / 0.8413 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.2046, allocations: 0 / 0.8413 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 0.0001789/0.2048, allocations: 61.39 kB / 0.8413 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.644e-05/0.2048, allocations: 130.7 kB / 0.8414 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004898/0.2053, allocations: 441.3 kB / 0.8419 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.2054, allocations: 25.7 kB / 0.8419 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.2055, allocations: 140.6 kB / 0.842 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-06/0.2055, allocations: 0 / 0.842 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.46e-05/0.2055, allocations: 85.67 kB / 0.8421 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.2057, allocations: 338.8 kB / 0.8424 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.2058, allocations: 100.6 kB / 0.8425 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001834/0.206, allocations: 169.9 kB / 0.8427 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003454/0.2064, allocations: 301.6 kB / 0.843 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2064, allocations: 0 / 0.843 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005296/0.2069, allocations: 325.3 kB / 0.8433 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.2069, allocations: 15.98 kB / 0.8433 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2069, allocations: 0 / 0.8433 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.2069, allocations: 7.938 kB / 0.8433 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.342e-06/0.2069, allocations: 3.938 kB / 0.8433 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.2069, allocations: 7.938 kB / 0.8433 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/0.2071, allocations: 43.52 kB / 0.8434 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.2071, allocations: 4.078 kB / 0.8434 GB, free: 13.08 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.0002166/0.2073, allocations: 241.7 kB / 0.8436 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.938e-05/0.2074, allocations: 132.7 kB / 0.8437 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.745e-05/0.2075, allocations: 126.8 kB / 0.8438 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.007e-05/0.2076, allocations: 180.2 kB / 0.844 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.847e-05/0.2076, allocations: 180.2 kB / 0.8442 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.873e-05/0.2077, allocations: 180.3 kB / 0.8444 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002975/0.208, allocations: 424.8 kB / 0.8448 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.816e-05/0.2081, allocations: 104.9 kB / 0.8449 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.231e-05/0.2081, allocations: 101 kB / 0.845 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.764e-05/0.2082, allocations: 184.2 kB / 0.8451 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.802e-05/0.2083, allocations: 184.2 kB / 0.8453 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.15e-05/0.2083, allocations: 180.5 kB / 0.8455 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.305e-05/0.2084, allocations: 192.1 kB / 0.8457 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001765/0.2086, allocations: 335.6 kB / 0.846 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.857e-05/0.2087, allocations: 128.8 kB / 0.8461 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.2088, allocations: 180.2 kB / 0.8463 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.2089, allocations: 101 kB / 0.8464 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.11e-05/0.209, allocations: 188.2 kB / 0.8466 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.065e-05/0.2091, allocations: 104.9 kB / 0.8467 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002896/0.2094, allocations: 279.1 kB / 0.8469 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.2094, allocations: 0 / 0.8469 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003574/0.2097, allocations: 83.94 kB / 0.847 GB, free: 9.164 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.000359/0.2101, allocations: 310.9 kB / 0.8473 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002029/0.2103, allocations: 119.9 kB / 0.8474 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2103, allocations: 0 / 0.8474 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.243e-06/0.2103, allocations: 0 / 0.8474 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004356/0.2107, allocations: 469.1 kB / 0.8479 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006263/0.2113, allocations: 0.4911 MB / 0.8483 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001629/0.2115, allocations: 172.6 kB / 0.8485 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.296e-05/0.2115, allocations: 7.844 kB / 0.8485 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.164e-05/0.2115, allocations: 11.44 kB / 0.8485 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.2115, allocations: 0 / 0.8485 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of Templates: time 0.007226/0.2188, allocations: 3.341 MB / 0.8518 GB, free: 4.246 MB / 0.5919 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.461341766640544] Failed to read output from testmodel.py, exit status != 0: 0.2260257452726364 0.240942392 0.035658813000000004 Calling exit ...