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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 103.9 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002337/0.002337, allocations: 280 kB / 303 MB, free: 3.582 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.009/1.009, allocations: 180.9 MB / 0.5261 GB, free: 2.766 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002705/0.002705, allocations: 100.1 kB / 0.7247 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4534/0.4561, allocations: 94.16 MB / 0.8167 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002031/0.4581, allocations: 1.421 MB / 0.8181 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002413/0.4605, allocations: 2.689 MB / 0.8207 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.075e-05/0.4606, allocations: 0 / 0.8207 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001221/0.4618, allocations: 0.5888 MB / 0.8213 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.343e-05/0.4618, allocations: 17.91 kB / 0.8213 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.537e-06/0.4618, allocations: 0 / 0.8213 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002084/0.462, allocations: 162.7 kB / 0.8215 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.809e-05/0.4621, allocations: 25.91 kB / 0.8215 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.897e-05/0.4622, allocations: 62.44 kB / 0.8215 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.4623, allocations: 78.5 kB / 0.8216 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.4623, allocations: 2.031 kB / 0.8216 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009154/0.4632, allocations: 475.9 kB / 0.8221 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.818e-05/0.4633, allocations: 34.33 kB / 0.8221 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.241e-05/0.4633, allocations: 98.34 kB / 0.8222 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005519/0.4639, allocations: 436.1 kB / 0.8226 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.4639, allocations: 0 / 0.8226 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4639, allocations: 0 / 0.8226 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.221e-05/0.4639, allocations: 0 / 0.8226 GB, free: 3.477 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.0006341/0.4645, allocations: 0.5627 MB / 0.8232 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.4646, allocations: 7.812 kB / 0.8232 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.284e-05/0.4646, allocations: 113.2 kB / 0.8233 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001353/0.4647, allocations: 108.4 kB / 0.8234 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.4649, allocations: 295.2 kB / 0.8237 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.4649, allocations: 157.4 kB / 0.8238 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.4649, allocations: 157.6 kB / 0.824 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.628e-05/0.465, allocations: 102.1 kB / 0.8241 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.465, allocations: 79.22 kB / 0.8241 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.465, allocations: 151.3 kB / 0.8243 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/0.465, allocations: 150.6 kB / 0.8244 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.018e-05/0.465, allocations: 165 kB / 0.8246 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002499/0.4653, allocations: 0.5341 MB / 0.8251 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.422e-05/0.4654, allocations: 170.7 kB / 0.8253 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.585e-05/0.4654, allocations: 84.7 kB / 0.8253 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.4654, allocations: 79.28 kB / 0.8254 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.4654, allocations: 109 kB / 0.8255 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.243e-06/0.4654, allocations: 7.922 kB / 0.8255 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 0.0001694/0.4656, allocations: 53.88 kB / 0.8256 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/0.4656, allocations: 127.2 kB / 0.8257 GB, free: 376 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003626/0.466, allocations: 438.4 kB / 0.8261 GB, free: 156 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.043e-06/0.466, allocations: 25.7 kB / 0.8261 GB, free: 124 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.48e-05/0.466, allocations: 137.6 kB / 0.8263 GB, free: 0 / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-06/0.466, allocations: 0 / 0.8263 GB, free: 0 / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.4661, allocations: 90.81 kB / 0.8264 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.4663, allocations: 339.3 kB / 0.8267 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.4664, allocations: 96.59 kB / 0.8268 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.4666, allocations: 168.8 kB / 0.8269 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002911/0.4668, allocations: 306.6 kB / 0.8272 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4668, allocations: 0 / 0.8272 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004759/0.4673, allocations: 330.9 kB / 0.8276 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.4673, allocations: 8.688 kB / 0.8276 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.4673, allocations: 2.469 kB / 0.8276 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.4674, allocations: 7.609 kB / 0.8276 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.834e-06/0.4674, allocations: 1.016 kB / 0.8276 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.4674, allocations: 6.875 kB / 0.8276 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.4675, allocations: 46.02 kB / 0.8276 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.916e-06/0.4675, allocations: 4.594 kB / 0.8276 GB, free: 15.15 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.0002444/0.4678, allocations: 247.9 kB / 0.8279 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.226e-05/0.4678, allocations: 134.8 kB / 0.828 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.285e-05/0.4679, allocations: 110.5 kB / 0.8281 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.011e-05/0.468, allocations: 186.3 kB / 0.8283 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.06e-05/0.4681, allocations: 187.3 kB / 0.8285 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-05/0.4682, allocations: 181 kB / 0.8286 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003562/0.4685, allocations: 469.4 kB / 0.8291 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-05/0.4686, allocations: 105.7 kB / 0.8292 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.826e-05/0.4687, allocations: 112 kB / 0.8293 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.896e-05/0.4688, allocations: 181 kB / 0.8295 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.088e-05/0.4688, allocations: 183.7 kB / 0.8296 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.718e-05/0.4689, allocations: 181.2 kB / 0.8298 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.866e-05/0.469, allocations: 177.2 kB / 0.83 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.4692, allocations: 327.3 kB / 0.8303 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.4693, allocations: 207.9 kB / 0.8305 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.4694, allocations: 185.6 kB / 0.8307 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.4695, allocations: 104.2 kB / 0.8308 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.999e-05/0.4696, allocations: 185 kB / 0.8309 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.602e-05/0.4697, allocations: 108 kB / 0.831 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002554/0.4699, allocations: 276.6 kB / 0.8313 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4699, allocations: 0 / 0.8313 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003813/0.4703, allocations: 80.33 kB / 0.8314 GB, free: 11.46 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.0006863/0.471, allocations: 0.9717 MB / 0.8323 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000187/0.4712, allocations: 119.6 kB / 0.8324 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.4712, allocations: 0 / 0.8324 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.343e-06/0.4712, allocations: 0 / 0.8324 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004365/0.4716, allocations: 469.2 kB / 0.8329 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002768/0.4744, allocations: 2.939 MB / 0.8358 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/0.4748, allocations: 0.7723 MB / 0.8365 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.392e-05/0.4748, allocations: 4.641 kB / 0.8365 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.967e-05/0.4748, allocations: 55.55 kB / 0.8366 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of SimCode: time 7.61e-07/0.4748, allocations: 3.938 kB / 0.8366 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0295/0.5043, allocations: 6.489 MB / 0.8429 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.024/8.529, allocations: 10.55 kB / 0.8429 GB, free: 6.602 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: 12.16757471486926] Failed to read output from testmodel.py, exit status != 0: 8.597423505038023 8.61199448 8.14524113 Calling exit ...