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.001626/0.001626, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002234/0.002234, allocations: 216.2 kB / 23.04 MB, free: 5.074 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.002497/0.002497, allocations: 283.4 kB / 313.5 MB, free: 2.812 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.235/1.235, allocations: 180.6 MB / 0.5377 GB, free: 13.07 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_low,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="cs",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.002815/0.002815, allocations: 95.59 kB / 0.7403 GB, free: 28.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1887, allocations: 95.39 MB / 0.8335 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002815/0.1915, allocations: 1.44 MB / 0.8349 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002528/0.194, allocations: 1.968 MB / 0.8368 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.218e-05/0.194, allocations: 8 kB / 0.8368 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000979/0.195, allocations: 386.8 kB / 0.8372 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.201e-05/0.1951, allocations: 23.91 kB / 0.8372 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 5.14e-06/0.1951, allocations: 0 / 0.8372 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002422/0.1953, allocations: 123.1 kB / 0.8373 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.842e-05/0.1954, allocations: 5.688 kB / 0.8373 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.438e-05/0.1954, allocations: 51.84 kB / 0.8374 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.1956, allocations: 63.64 kB / 0.8374 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.1956, allocations: 4 kB / 0.8374 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004761/0.1961, allocations: 179.9 kB / 0.8376 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.592e-05/0.1961, allocations: 35.84 kB / 0.8376 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.596e-05/0.1962, allocations: 71.61 kB / 0.8377 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004673/0.1967, allocations: 291 kB / 0.838 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1967, allocations: 0 / 0.838 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1967, allocations: 0 / 0.838 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.1967, allocations: 0 / 0.838 GB, free: 4.008 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.0007726/0.1975, allocations: 421.2 kB / 0.8384 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.1975, allocations: 9.344 kB / 0.8384 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.275e-05/0.1976, allocations: 79.47 kB / 0.8385 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.086e-05/0.1976, allocations: 106 kB / 0.8386 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001674/0.1978, allocations: 100.1 kB / 0.8387 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/0.198, allocations: 237.1 kB / 0.8389 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.789e-05/0.1981, allocations: 158.9 kB / 0.8391 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.434e-05/0.1982, allocations: 162.6 kB / 0.8392 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.289e-05/0.1983, allocations: 109 kB / 0.8393 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.336e-05/0.1983, allocations: 75.28 kB / 0.8394 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.888e-05/0.1984, allocations: 154.5 kB / 0.8395 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-05/0.1985, allocations: 150.6 kB / 0.8397 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.482e-05/0.1985, allocations: 154.5 kB / 0.8398 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004058/0.1989, allocations: 488.8 kB / 0.8403 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.199, allocations: 173.1 kB / 0.8405 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.494e-05/0.1991, allocations: 88.08 kB / 0.8405 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.257e-05/0.1991, allocations: 75.28 kB / 0.8406 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.788e-05/0.1992, allocations: 113.8 kB / 0.8407 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.1992, allocations: 0 / 0.8407 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 0.0001787/0.1993, allocations: 53.5 kB / 0.8408 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.623e-05/0.1994, allocations: 126.7 kB / 0.8409 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003632/0.1998, allocations: 325.6 kB / 0.8412 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.1998, allocations: 25.7 kB / 0.8412 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.061e-05/0.1999, allocations: 112.5 kB / 0.8413 GB, free: 416 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/0.1999, allocations: 0 / 0.8413 GB, free: 416 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.543e-05/0.2, allocations: 69.67 kB / 0.8414 GB, free: 340 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.2001, allocations: 326.8 kB / 0.8417 GB, free: 4 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.2002, allocations: 67.73 kB / 0.8418 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.2004, allocations: 117.9 kB / 0.8419 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002428/0.2006, allocations: 213.8 kB / 0.8421 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2006, allocations: 0 / 0.8421 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004175/0.201, allocations: 241.3 kB / 0.8423 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.201, allocations: 4 kB / 0.8423 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.201, allocations: 0 / 0.8423 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.2011, allocations: 4 kB / 0.8423 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.222e-06/0.2011, allocations: 0 / 0.8423 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.2011, allocations: 7.938 kB / 0.8423 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001328/0.2012, allocations: 27.73 kB / 0.8424 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.2012, allocations: 12.22 kB / 0.8424 GB, free: 15.27 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.0002139/0.2014, allocations: 221.7 kB / 0.8426 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.487e-05/0.2015, allocations: 124.8 kB / 0.8427 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.983e-05/0.2016, allocations: 117.7 kB / 0.8428 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.04e-05/0.2016, allocations: 180.2 kB / 0.843 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-05/0.2017, allocations: 184.2 kB / 0.8432 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-05/0.2018, allocations: 180.3 kB / 0.8433 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002984/0.2021, allocations: 432.1 kB / 0.8438 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.965e-05/0.2021, allocations: 101 kB / 0.8438 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.148e-05/0.2022, allocations: 101 kB / 0.8439 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.481e-05/0.2023, allocations: 188.2 kB / 0.8441 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.735e-05/0.2023, allocations: 184.3 kB / 0.8443 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.985e-05/0.2024, allocations: 180.2 kB / 0.8445 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.916e-05/0.2025, allocations: 180.3 kB / 0.8446 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.2027, allocations: 327.5 kB / 0.845 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.562e-05/0.2028, allocations: 124.8 kB / 0.8451 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.2029, allocations: 184.2 kB / 0.8453 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.203, allocations: 105 kB / 0.8454 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.43e-05/0.2031, allocations: 180.3 kB / 0.8455 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-05/0.2032, allocations: 105.2 kB / 0.8456 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002083/0.2034, allocations: 213.2 kB / 0.8458 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2034, allocations: 4 kB / 0.8458 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003671/0.2037, allocations: 67.86 kB / 0.8459 GB, free: 11.47 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.0006991/0.2044, allocations: 0.914 MB / 0.8468 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001692/0.2046, allocations: 83.83 kB / 0.8469 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2046, allocations: 4 kB / 0.8469 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.2046, allocations: 448 / 0.8469 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004313/0.205, allocations: 460.2 kB / 0.8473 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002602/0.2076, allocations: 2.434 MB / 0.8497 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000385/0.208, allocations: 0.7469 MB / 0.8504 GB, free: 6.66 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.558e-05/0.208, allocations: 4 kB / 0.8504 GB, free: 6.656 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.077e-05/0.2081, allocations: 35.42 kB / 0.8505 GB, free: 6.621 MB / 0.5919 GB Notification: Performance of SimCode: time 7.02e-07/0.2081, allocations: 192 / 0.8505 GB, free: 6.621 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02564/0.2337, allocations: 5.012 MB / 0.8553 GB, free: 1.777 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.39, allocations: 7.031 kB / 0.8554 GB, free: 1.777 MB / 0.5919 GB " [Timeout remaining time 648] (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: 15.667109377041925] Failed to read output from testmodel.py, exit status != 0: 11.554904843040276 11.577603968 11.375999032 Calling exit ...