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.001587/0.001587, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002067/0.002067, allocations: 219.8 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.427/1.427, allocations: 230.6 MB / 256.8 MB, free: 7.953 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.002484/0.002484, allocations: 290.1 kB / 313.5 MB, free: 2.875 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.213/1.213, allocations: 180.6 MB / 0.5377 GB, free: 12.94 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_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.002806/0.002806, allocations: 95.66 kB / 0.7403 GB, free: 28.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.158, allocations: 95.39 MB / 0.8335 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002514/0.1605, allocations: 1.444 MB / 0.8349 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003433/0.1639, allocations: 2.719 MB / 0.8375 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.941e-05/0.164, allocations: 0 / 0.8375 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001411/0.1654, allocations: 0.5854 MB / 0.8381 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.281e-05/0.1654, allocations: 23.84 kB / 0.8381 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.797e-06/0.1654, allocations: 0 / 0.8381 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002536/0.1657, allocations: 170.9 kB / 0.8383 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.854e-05/0.1657, allocations: 12.59 kB / 0.8383 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.959e-05/0.1658, allocations: 55.73 kB / 0.8384 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.166, allocations: 83.52 kB / 0.8385 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.166, allocations: 4 kB / 0.8385 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001038/0.167, allocations: 471.3 kB / 0.8389 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.91e-05/0.1671, allocations: 35.78 kB / 0.8389 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.1672, allocations: 99.42 kB / 0.839 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006295/0.1678, allocations: 438 kB / 0.8395 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1678, allocations: 0 / 0.8395 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1678, allocations: 0 / 0.8395 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.1678, allocations: 3.938 kB / 0.8395 GB, free: 2.492 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.0007449/0.1685, allocations: 496.7 kB / 0.8399 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.1686, allocations: 9.344 kB / 0.8399 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.786e-05/0.1686, allocations: 79.47 kB / 0.84 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.44e-05/0.1687, allocations: 106 kB / 0.8401 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001732/0.1689, allocations: 108 kB / 0.8402 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002287/0.1691, allocations: 252.5 kB / 0.8405 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.46e-05/0.1691, allocations: 150.9 kB / 0.8406 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.078e-05/0.1692, allocations: 158.9 kB / 0.8408 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.703e-05/0.1693, allocations: 109.2 kB / 0.8409 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.664e-05/0.1693, allocations: 75.28 kB / 0.8409 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.088e-05/0.1694, allocations: 150.6 kB / 0.8411 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.315e-05/0.1694, allocations: 158.6 kB / 0.8412 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.687e-05/0.1695, allocations: 154.5 kB / 0.8414 GB, free: 456 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003954/0.1699, allocations: 0.5007 MB / 0.8419 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 9.325e-05/0.17, allocations: 173.1 kB / 0.842 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.901e-05/0.17, allocations: 88.19 kB / 0.8421 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.394e-05/0.1701, allocations: 75.28 kB / 0.8422 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.575e-05/0.1701, allocations: 109.8 kB / 0.8423 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.1701, allocations: 0 / 0.8423 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 0.000171/0.1703, allocations: 53.52 kB / 0.8423 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.988e-05/0.1704, allocations: 130.7 kB / 0.8425 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004738/0.1708, allocations: 445.2 kB / 0.8429 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.1709, allocations: 25.7 kB / 0.8429 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.157e-05/0.171, allocations: 136.6 kB / 0.843 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/0.171, allocations: 0 / 0.843 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.1711, allocations: 85.67 kB / 0.8431 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.1712, allocations: 338.8 kB / 0.8434 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.1713, allocations: 100.6 kB / 0.8435 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001728/0.1715, allocations: 165.9 kB / 0.8437 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000336/0.1718, allocations: 309.6 kB / 0.844 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.1718, allocations: 4 kB / 0.844 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005157/0.1724, allocations: 329 kB / 0.8443 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.1724, allocations: 11.94 kB / 0.8443 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1724, allocations: 4.297 kB / 0.8443 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.1724, allocations: 7.938 kB / 0.8443 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.09e-06/0.1724, allocations: 3.984 kB / 0.8443 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.1724, allocations: 11.92 kB / 0.8444 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.1726, allocations: 39.56 kB / 0.8444 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.1726, allocations: 4 kB / 0.8444 GB, free: 13.18 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.0002397/0.1728, allocations: 241.7 kB / 0.8446 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.176e-05/0.1729, allocations: 136.7 kB / 0.8448 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.517e-05/0.173, allocations: 118.6 kB / 0.8449 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.696e-05/0.1731, allocations: 180.3 kB / 0.845 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.446e-05/0.1731, allocations: 184.2 kB / 0.8452 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-05/0.1732, allocations: 176.3 kB / 0.8454 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003216/0.1735, allocations: 448.2 kB / 0.8458 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.148e-05/0.1736, allocations: 109 kB / 0.8459 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.205e-05/0.1736, allocations: 105 kB / 0.846 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.027e-05/0.1737, allocations: 184.1 kB / 0.8462 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-05/0.1738, allocations: 180.3 kB / 0.8464 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.152e-05/0.1738, allocations: 180.4 kB / 0.8465 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.768e-05/0.1739, allocations: 188.2 kB / 0.8467 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.1741, allocations: 331.6 kB / 0.847 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.481e-05/0.1742, allocations: 132.7 kB / 0.8472 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.1743, allocations: 180.2 kB / 0.8473 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.1745, allocations: 105 kB / 0.8474 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.651e-05/0.1746, allocations: 180.3 kB / 0.8476 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.339e-05/0.1746, allocations: 104.9 kB / 0.8477 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003019/0.1749, allocations: 283.1 kB / 0.848 GB, free: 9.32 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.1749, allocations: 0 / 0.848 GB, free: 9.32 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003887/0.1753, allocations: 83.92 kB / 0.848 GB, free: 9.238 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.0007045/0.176, allocations: 0.9528 MB / 0.849 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002011/0.1762, allocations: 123.8 kB / 0.8491 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1762, allocations: 0 / 0.8491 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.1762, allocations: 0 / 0.8491 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004212/0.1766, allocations: 469.5 kB / 0.8495 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002998/0.1796, allocations: 2.945 MB / 0.8524 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003785/0.18, allocations: 0.7743 MB / 0.8532 GB, free: 3.809 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.154e-05/0.18, allocations: 0 / 0.8532 GB, free: 3.809 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.565e-05/0.1801, allocations: 59.41 kB / 0.8532 GB, free: 3.75 MB / 0.5919 GB Notification: Performance of SimCode: time 5.71e-07/0.1801, allocations: 4 kB / 0.8532 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02837/0.2085, allocations: 6.594 MB / 0.8597 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.42, allocations: 7.5 kB / 0.8597 GB, free: 13.32 MB / 0.6075 GB " [Timeout remaining time 648] (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: 15.635653890960384] Failed to read output from testmodel.py, exit status != 0: 11.584526470978744 11.610276701 11.437892554 Calling exit ...