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.001319/0.001319, allocations: 118.2 kB / 17.17 MB, free: 6 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.001403/0.001403, allocations: 211.3 kB / 20.13 MB, free: 3.055 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.52/1.52, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.002614/0.002614, allocations: 282.1 kB / 309.8 MB, free: 3.48 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.064/1.064, allocations: 180.6 MB / 0.5338 GB, free: 12.36 MB / 398.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.004201/0.004201, allocations: 107.8 kB / 0.7347 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5673/0.5715, allocations: 95.33 MB / 0.8278 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002201/0.5737, allocations: 1.433 MB / 0.8292 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001787/0.5755, allocations: 1.952 MB / 0.8311 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.642e-05/0.5755, allocations: 0 / 0.8311 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008286/0.5764, allocations: 388.2 kB / 0.8314 GB, free: 500 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.965e-05/0.5764, allocations: 18.67 kB / 0.8314 GB, free: 488 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.407e-06/0.5764, allocations: 0 / 0.8314 GB, free: 488 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001823/0.5766, allocations: 125.2 kB / 0.8316 GB, free: 432 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.835e-05/0.5766, allocations: 17.83 kB / 0.8316 GB, free: 424 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.82e-05/0.5767, allocations: 49.81 kB / 0.8316 GB, free: 408 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.755e-05/0.5768, allocations: 67.23 kB / 0.8317 GB, free: 380 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.5768, allocations: 7.906 kB / 0.8317 GB, free: 376 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003926/0.5772, allocations: 177.8 kB / 0.8319 GB, free: 352 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.315e-05/0.5772, allocations: 31.23 kB / 0.8319 GB, free: 340 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.851e-05/0.5773, allocations: 74.06 kB / 0.832 GB, free: 300 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003625/0.5776, allocations: 282.1 kB / 0.8322 GB, free: 188 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.5776, allocations: 0 / 0.8322 GB, free: 188 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.263e-06/0.5776, allocations: 1.125 kB / 0.8322 GB, free: 188 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.5776, allocations: 0 / 0.8322 GB, free: 188 kB / 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.000652/0.5783, allocations: 0.4954 MB / 0.8327 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.5783, allocations: 9.391 kB / 0.8327 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.852e-05/0.5784, allocations: 76.75 kB / 0.8328 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.663e-05/0.5784, allocations: 106 kB / 0.8329 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001648/0.5786, allocations: 101 kB / 0.833 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.5788, allocations: 294.6 kB / 0.8333 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.164e-05/0.5789, allocations: 160.4 kB / 0.8334 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.316e-05/0.579, allocations: 157.3 kB / 0.8336 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.008e-05/0.5791, allocations: 103.6 kB / 0.8337 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.66e-05/0.5791, allocations: 75.28 kB / 0.8338 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.979e-05/0.5792, allocations: 154.6 kB / 0.8339 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.223e-05/0.5792, allocations: 154.5 kB / 0.8341 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.045e-05/0.5793, allocations: 155.3 kB / 0.8342 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003763/0.5797, allocations: 0.5038 MB / 0.8347 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 8.702e-05/0.5797, allocations: 168.1 kB / 0.8349 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.1e-05/0.5798, allocations: 84.08 kB / 0.8349 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.412e-05/0.5798, allocations: 79.8 kB / 0.835 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.131e-05/0.5799, allocations: 106.5 kB / 0.8351 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.5799, allocations: 0 / 0.8351 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 0.0001788/0.5801, allocations: 55.11 kB / 0.8352 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.838e-05/0.5801, allocations: 131.4 kB / 0.8353 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003365/0.5805, allocations: 319.9 kB / 0.8356 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.5805, allocations: 29.7 kB / 0.8356 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.428e-05/0.5806, allocations: 120.6 kB / 0.8357 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-06/0.5806, allocations: 0 / 0.8357 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.784e-05/0.5806, allocations: 62.66 kB / 0.8358 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.5808, allocations: 330.5 kB / 0.8361 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.804e-05/0.5809, allocations: 60.36 kB / 0.8362 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.581, allocations: 128.6 kB / 0.8363 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002432/0.5813, allocations: 208.1 kB / 0.8365 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5813, allocations: 0 / 0.8365 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004324/0.5817, allocations: 240.6 kB / 0.8367 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.5817, allocations: 3.781 kB / 0.8367 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.5817, allocations: 3.141 kB / 0.8367 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.5817, allocations: 1.062 kB / 0.8367 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.86e-06/0.5817, allocations: 11.48 kB / 0.8367 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.5817, allocations: 2.312 kB / 0.8367 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/0.5818, allocations: 29.81 kB / 0.8368 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.5819, allocations: 5.297 kB / 0.8368 GB, free: 12.06 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.0002101/0.5821, allocations: 222.8 kB / 0.837 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.881e-05/0.5822, allocations: 128 kB / 0.8371 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.05e-05/0.5822, allocations: 113.7 kB / 0.8372 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.804e-05/0.5823, allocations: 183.2 kB / 0.8374 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-05/0.5824, allocations: 180.9 kB / 0.8376 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.66e-05/0.5825, allocations: 178.2 kB / 0.8377 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000326/0.5828, allocations: 457.3 kB / 0.8382 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-05/0.5828, allocations: 105.8 kB / 0.8383 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.366e-05/0.5829, allocations: 112.1 kB / 0.8384 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.927e-05/0.583, allocations: 180.8 kB / 0.8386 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.606e-05/0.583, allocations: 179.1 kB / 0.8387 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.838e-05/0.5831, allocations: 184.9 kB / 0.8389 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.845e-05/0.5832, allocations: 176.9 kB / 0.8391 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001806/0.5834, allocations: 328 kB / 0.8394 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.5835, allocations: 201.8 kB / 0.8396 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.5836, allocations: 182.5 kB / 0.8397 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.5837, allocations: 101.5 kB / 0.8398 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.661e-05/0.5838, allocations: 183.5 kB / 0.84 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-05/0.5838, allocations: 105.6 kB / 0.8401 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002343/0.5841, allocations: 214.6 kB / 0.8403 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.5841, allocations: 0 / 0.8403 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003671/0.5844, allocations: 65.05 kB / 0.8404 GB, free: 8.41 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.0006441/0.5851, allocations: 0.9169 MB / 0.8413 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001674/0.5853, allocations: 88.23 kB / 0.8414 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5853, allocations: 0 / 0.8414 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.904e-06/0.5853, allocations: 3.375 kB / 0.8414 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000422/0.5857, allocations: 460.9 kB / 0.8418 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00253/0.5882, allocations: 2.445 MB / 0.8442 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.5886, allocations: 0.7382 MB / 0.8449 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.555e-05/0.5886, allocations: 5.109 kB / 0.8449 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.372e-05/0.5886, allocations: 32.55 kB / 0.845 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of SimCode: time 4.5e-07/0.5886, allocations: 4 kB / 0.845 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02152/0.6102, allocations: 4.941 MB / 0.8498 GB, free: 3.891 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.263/8.873, allocations: 11.17 kB / 0.8498 GB, free: 3.883 MB / 0.5919 GB " [Timeout remaining time 651] (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: 13.005080064001959] Failed to read output from testmodel.py, exit status != 0: 9.001915190019645 9.018579211 8.437994685 Calling exit ...