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.001367/0.001367, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.002294/0.002294, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.51/1.51, 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.002481/0.002481, allocations: 275.9 kB / 309.8 MB, free: 3.461 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.082/1.082, allocations: 180.6 MB / 0.5338 GB, free: 12.4 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_med,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_Transmission_Functions_Validation_SelectCable_med",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.003174/0.003174, allocations: 103.9 kB / 0.7347 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.531/0.5341, allocations: 95.34 MB / 0.8278 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002742/0.5369, allocations: 1.44 MB / 0.8292 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002707/0.5396, allocations: 2.688 MB / 0.8318 GB, free: 144 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.031e-05/0.5396, allocations: 0 / 0.8318 GB, free: 144 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001532/0.5412, allocations: 0.5844 MB / 0.8324 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.9e-05/0.5412, allocations: 25.42 kB / 0.8324 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 4.499e-06/0.5412, allocations: 0 / 0.8324 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0002979/0.5415, allocations: 166.8 kB / 0.8325 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 7.881e-05/0.5416, allocations: 22.17 kB / 0.8326 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 8.575e-05/0.5417, allocations: 63.08 kB / 0.8326 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.5418, allocations: 77.7 kB / 0.8327 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.5418, allocations: 6.75 kB / 0.8327 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001107/0.543, allocations: 470.6 kB / 0.8332 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 7.65e-05/0.543, allocations: 41.3 kB / 0.8332 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.5432, allocations: 93.09 kB / 0.8333 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0007388/0.5439, allocations: 434.2 kB / 0.8337 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.5439, allocations: 0 / 0.8337 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5439, allocations: 0 / 0.8337 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.5439, allocations: 0 / 0.8337 GB, free: 15.32 MB / 0.5919 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.000951/0.5449, allocations: 0.5694 MB / 0.8343 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.5449, allocations: 10.25 kB / 0.8343 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.691e-05/0.545, allocations: 79.47 kB / 0.8343 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.105e-05/0.545, allocations: 106 kB / 0.8344 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001907/0.5452, allocations: 110.5 kB / 0.8345 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/0.5455, allocations: 293.8 kB / 0.8348 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.334e-05/0.5456, allocations: 153.1 kB / 0.835 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.532e-05/0.5457, allocations: 157.6 kB / 0.8351 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.166e-05/0.5457, allocations: 110 kB / 0.8352 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.678e-05/0.5458, allocations: 75.28 kB / 0.8353 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.28e-05/0.5458, allocations: 155.1 kB / 0.8354 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.996e-05/0.5459, allocations: 151.8 kB / 0.8356 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.468e-05/0.546, allocations: 156.5 kB / 0.8357 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004735/0.5465, allocations: 0.5376 MB / 0.8363 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.5466, allocations: 175.3 kB / 0.8364 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.7e-05/0.5466, allocations: 80.94 kB / 0.8365 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.542e-05/0.5466, allocations: 75.28 kB / 0.8366 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.644e-05/0.5467, allocations: 115.9 kB / 0.8367 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.5467, allocations: 0 / 0.8367 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 0.0001963/0.5469, allocations: 59.73 kB / 0.8367 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.508e-05/0.547, allocations: 126.7 kB / 0.8369 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004997/0.5475, allocations: 431.9 kB / 0.8373 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.5475, allocations: 31.02 kB / 0.8373 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.5476, allocations: 137.2 kB / 0.8374 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-06/0.5476, allocations: 0 / 0.8374 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.5477, allocations: 91.31 kB / 0.8375 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.5479, allocations: 340.8 kB / 0.8379 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.548, allocations: 97.94 kB / 0.8379 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001873/0.5482, allocations: 162.2 kB / 0.8381 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003449/0.5485, allocations: 310.5 kB / 0.8384 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.5485, allocations: 0.6562 kB / 0.8384 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000547/0.5491, allocations: 321.9 kB / 0.8387 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.5491, allocations: 9.312 kB / 0.8387 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.5491, allocations: 8.266 kB / 0.8387 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.5491, allocations: 3.938 kB / 0.8387 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.583e-06/0.5491, allocations: 8.75 kB / 0.8387 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.5491, allocations: 0.8906 kB / 0.8387 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/0.5493, allocations: 45.58 kB / 0.8388 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.5493, allocations: 12.61 kB / 0.8388 GB, free: 10.93 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.0002833/0.5496, allocations: 247.2 kB / 0.839 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.5497, allocations: 131.8 kB / 0.8392 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.685e-05/0.5498, allocations: 117 kB / 0.8393 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.443e-05/0.5499, allocations: 177 kB / 0.8394 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.969e-05/0.5499, allocations: 189.8 kB / 0.8396 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.166e-05/0.55, allocations: 179.5 kB / 0.8398 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003515/0.5504, allocations: 476.4 kB / 0.8402 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.147e-05/0.5504, allocations: 101.5 kB / 0.8403 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.233e-05/0.5505, allocations: 105 kB / 0.8404 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.272e-05/0.5506, allocations: 188.8 kB / 0.8406 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.478e-05/0.5506, allocations: 177.2 kB / 0.8408 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.045e-05/0.5507, allocations: 188.5 kB / 0.841 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.16e-05/0.5508, allocations: 181 kB / 0.8411 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001842/0.551, allocations: 324 kB / 0.8414 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.5511, allocations: 208.9 kB / 0.8416 GB, free: 7.949 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.5512, allocations: 193 kB / 0.8418 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.5514, allocations: 101.6 kB / 0.8419 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.488e-05/0.5514, allocations: 181 kB / 0.8421 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.393e-05/0.5515, allocations: 102.9 kB / 0.8422 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002754/0.5518, allocations: 280.4 kB / 0.8425 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5518, allocations: 4 kB / 0.8425 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003924/0.5522, allocations: 84.19 kB / 0.8425 GB, free: 7.223 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.0007362/0.5529, allocations: 0.9563 MB / 0.8435 GB, free: 6.348 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002114/0.5531, allocations: 127 kB / 0.8436 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.5531, allocations: 0 / 0.8436 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.5531, allocations: 0 / 0.8436 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004325/0.5535, allocations: 463.7 kB / 0.844 GB, free: 5.844 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003101/0.5566, allocations: 2.949 MB / 0.8469 GB, free: 3.91 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004174/0.5571, allocations: 0.7771 MB / 0.8477 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.675e-05/0.5571, allocations: 3.453 kB / 0.8477 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.96e-05/0.5572, allocations: 50.86 kB / 0.8477 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of SimCode: time 6.41e-07/0.5572, allocations: 1.156 kB / 0.8477 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03407/0.5912, allocations: 6.528 MB / 0.8541 GB, free: 2.359 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.626/9.217, allocations: 11.05 kB / 0.8541 GB, free: 2.352 MB / 0.5919 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_Transmission_Functions_Validation_SelectCable_med_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.31775743997423] Failed to read output from testmodel.py, exit status != 0: 9.350233924982604 9.373298063 8.825142561 Calling exit ...