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.0008697/0.0008697, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008631/0.0008631, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8534/0.8534, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.001416/0.001416, allocations: 234.3 kB / 259.4 MB, free: 13.03 MB / 250.7 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 0.6499/0.6499, allocations: 138.4 MB / 454.3 MB, free: 30.05 MB / 410.7 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="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 1.523e-06/1.523e-06, allocations: 0 / 0.6463 GB, free: 1.934 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.992e-05/2.144e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.926 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001899/0.001921, allocations: 1.43 MB / 0.6477 GB, free: 496 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2205/0.2224, allocations: 2.394 MB / 0.65 GB, free: 55.29 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.478e-05/0.2224, allocations: 0 / 0.65 GB, free: 55.29 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.00108/0.2235, allocations: 0.5511 MB / 0.6505 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 3.945e-05/0.2235, allocations: 13.72 kB / 0.6505 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 4.298e-06/0.2235, allocations: 0 / 0.6505 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001859/0.2237, allocations: 172.5 kB / 0.6507 GB, free: 54.97 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.772e-05/0.2238, allocations: 15.5 kB / 0.6507 GB, free: 54.97 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 8.225e-05/0.2238, allocations: 86.7 kB / 0.6508 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 9.91e-05/0.2239, allocations: 59.19 kB / 0.6509 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.224, allocations: 4.719 kB / 0.6509 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005619/0.2245, allocations: 407.9 kB / 0.6513 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.504e-05/0.2246, allocations: 40.97 kB / 0.6513 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 6.016e-05/0.2246, allocations: 61.72 kB / 0.6514 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.000395/0.225, allocations: 449.5 kB / 0.6518 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.225, allocations: 0 / 0.6518 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.242e-06/0.225, allocations: 0 / 0.6518 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.225, allocations: 1.281 kB / 0.6518 GB, free: 54.75 MB / 0.5573 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.0004622/0.2255, allocations: 485.4 kB / 0.6523 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.2255, allocations: 13.12 kB / 0.6523 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.193e-05/0.2256, allocations: 107.3 kB / 0.6524 GB, free: 54.28 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.81e-05/0.2256, allocations: 108.8 kB / 0.6525 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.2258, allocations: 247.5 kB / 0.6527 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.2258, allocations: 155.6 kB / 0.6529 GB, free: 53.8 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.2258, allocations: 161 kB / 0.653 GB, free: 53.66 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.063e-05/0.2258, allocations: 101.5 kB / 0.6531 GB, free: 53.55 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.2258, allocations: 77.06 kB / 0.6532 GB, free: 53.48 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.2258, allocations: 150.9 kB / 0.6533 GB, free: 53.33 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.2259, allocations: 157.8 kB / 0.6535 GB, free: 53.18 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.33e-05/0.2259, allocations: 157.8 kB / 0.6536 GB, free: 53.02 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000192/0.2261, allocations: 0.5016 MB / 0.6541 GB, free: 52.56 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 3.486e-05/0.2261, allocations: 171 kB / 0.6543 GB, free: 52.39 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.123e-05/0.2261, allocations: 81.42 kB / 0.6544 GB, free: 52.31 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.287e-06/0.2261, allocations: 77.12 kB / 0.6544 GB, free: 52.23 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.463e-05/0.2261, allocations: 106.7 kB / 0.6545 GB, free: 52.12 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 6.41e-07/0.2261, allocations: 1.562 kB / 0.6545 GB, free: 52.12 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 0.0001023/0.2262, allocations: 60.52 kB / 0.6546 GB, free: 52.07 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.159e-05/0.2263, allocations: 133.6 kB / 0.6547 GB, free: 51.93 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002991/0.2266, allocations: 437.6 kB / 0.6551 GB, free: 51.8 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.222e-06/0.2266, allocations: 27.52 kB / 0.6552 GB, free: 51.77 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.349e-05/0.2266, allocations: 133 kB / 0.6553 GB, free: 51.67 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.475e-06/0.2266, allocations: 3.938 kB / 0.6553 GB, free: 51.67 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.087e-05/0.2267, allocations: 88.55 kB / 0.6554 GB, free: 51.65 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.962e-05/0.2267, allocations: 340 kB / 0.6557 GB, free: 51.34 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.221e-05/0.2268, allocations: 99.61 kB / 0.6558 GB, free: 51.34 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.777e-05/0.2269, allocations: 165.2 kB / 0.656 GB, free: 51.25 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001987/0.2271, allocations: 300.7 kB / 0.6562 GB, free: 51.11 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.2271, allocations: 3.25 kB / 0.6562 GB, free: 51.11 MB / 0.5573 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003319/0.2274, allocations: 336.8 kB / 0.6566 GB, free: 50.96 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.2274, allocations: 5.734 kB / 0.6566 GB, free: 50.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.2274, allocations: 1.688 kB / 0.6566 GB, free: 50.96 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.2275, allocations: 3.875 kB / 0.6566 GB, free: 50.96 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.445e-06/0.2275, allocations: 6.734 kB / 0.6566 GB, free: 50.96 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.2275, allocations: 1.969 kB / 0.6566 GB, free: 50.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.062e-05/0.2275, allocations: 47.77 kB / 0.6566 GB, free: 50.92 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.2276, allocations: 3.875 kB / 0.6566 GB, free: 50.92 MB / 0.5573 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.0001484/0.2277, allocations: 240.2 kB / 0.6569 GB, free: 50.72 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.2277, allocations: 134.4 kB / 0.657 GB, free: 50.59 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.009e-05/0.2278, allocations: 111.1 kB / 0.6571 GB, free: 50.48 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.2278, allocations: 183.8 kB / 0.6573 GB, free: 50.3 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.465e-05/0.2278, allocations: 183 kB / 0.6574 GB, free: 50.11 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.535e-05/0.2278, allocations: 184.2 kB / 0.6576 GB, free: 49.93 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.2279, allocations: 441.3 kB / 0.658 GB, free: 49.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.2279, allocations: 108.2 kB / 0.6581 GB, free: 49.39 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.667e-06/0.2279, allocations: 110.3 kB / 0.6582 GB, free: 49.28 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.335e-05/0.228, allocations: 179 kB / 0.6584 GB, free: 49.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.228, allocations: 179 kB / 0.6586 GB, free: 48.92 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.221e-05/0.228, allocations: 185 kB / 0.6588 GB, free: 48.73 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-05/0.228, allocations: 183.1 kB / 0.6589 GB, free: 48.55 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.258e-05/0.228, allocations: 329.6 kB / 0.6593 GB, free: 48.21 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.131e-05/0.2281, allocations: 131.2 kB / 0.6594 GB, free: 48.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.935e-05/0.2281, allocations: 179.1 kB / 0.6596 GB, free: 47.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.551e-05/0.2282, allocations: 104.1 kB / 0.6597 GB, free: 47.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.944e-05/0.2282, allocations: 184.8 kB / 0.6598 GB, free: 47.62 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-06/0.2282, allocations: 107.7 kB / 0.6599 GB, free: 47.51 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001768/0.2284, allocations: 280.6 kB / 0.6602 GB, free: 47.38 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.1e-08/0.2284, allocations: 0 / 0.6602 GB, free: 47.38 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002738/0.2286, allocations: 86.7 kB / 0.6603 GB, free: 47.37 MB / 0.5573 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.0003436/0.229, allocations: 0.9671 MB / 0.6612 GB, free: 46.49 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001413/0.2291, allocations: 117 kB / 0.6613 GB, free: 46.45 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2291, allocations: 448 / 0.6613 GB, free: 46.45 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.2291, allocations: 5.219 kB / 0.6613 GB, free: 46.45 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.2294, allocations: 470.1 kB / 0.6618 GB, free: 45.99 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001986/0.2313, allocations: 2.958 MB / 0.6647 GB, free: 44.07 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.695e-05/0.2314, allocations: 164.8 kB / 0.6648 GB, free: 43.98 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.204e-05/0.2315, allocations: 7.75 kB / 0.6648 GB, free: 43.98 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.199e-05/0.2315, allocations: 55.8 kB / 0.6649 GB, free: 43.93 MB / 0.5573 GB Notification: Performance of SimCode: time 8.82e-07/0.2315, allocations: 1.125 kB / 0.6649 GB, free: 43.93 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02212/0.2536, allocations: 7.211 MB / 0.6719 GB, free: 42.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.786/7.04, allocations: 9.578 kB / 0.6719 GB, free: 42.7 MB / 0.5573 GB " [Timeout remaining time 653] (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: 9.507987077347934] Failed to read output from testmodel.py, exit status != 0: 7.128728607669473 7.138751241 6.911746128 Calling exit ...