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.0007728/0.0007728, 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.0007733/0.0007733, 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.8847/0.8847, allocations: 177.2 MB / 202.8 MB, free: 5.742 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.001354/0.001354, 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.679/0.679, allocations: 138.4 MB / 454.3 MB, free: 30.03 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_low,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.6463 GB, free: 1.914 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.19e-05/2.335e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.906 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002095/0.002119, allocations: 1.419 MB / 0.6477 GB, free: 484 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2237/0.2258, allocations: 1.736 MB / 0.6493 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.541e-05/0.2259, allocations: 0 / 0.6493 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0008676/0.2267, allocations: 372.3 kB / 0.6497 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.211e-05/0.2268, allocations: 16.86 kB / 0.6497 GB, free: 55.56 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 4.037e-06/0.2268, allocations: 0.6875 kB / 0.6497 GB, free: 55.56 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001831/0.2269, allocations: 128.1 kB / 0.6498 GB, free: 55.51 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.479e-05/0.227, allocations: 12.11 kB / 0.6499 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 8.73e-05/0.2271, allocations: 64.09 kB / 0.6499 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.2272, allocations: 49.34 kB / 0.65 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.2272, allocations: 2.781 kB / 0.65 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003087/0.2275, allocations: 181.7 kB / 0.6501 GB, free: 55.47 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.683e-05/0.2276, allocations: 29.45 kB / 0.6502 GB, free: 55.47 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.643e-05/0.2276, allocations: 50.73 kB / 0.6502 GB, free: 55.46 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003161/0.2279, allocations: 301.6 kB / 0.6505 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2279, allocations: 0 / 0.6505 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2279, allocations: 6.75 kB / 0.6505 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.2279, allocations: 2.375 kB / 0.6505 GB, free: 55.38 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.0004548/0.2284, allocations: 423.9 kB / 0.6509 GB, free: 55.04 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.2284, allocations: 12.81 kB / 0.6509 GB, free: 55.04 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.977e-05/0.2285, allocations: 106 kB / 0.651 GB, free: 54.93 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.532e-05/0.2285, allocations: 100.5 kB / 0.6511 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.2287, allocations: 228.4 kB / 0.6513 GB, free: 54.63 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.2287, allocations: 152.7 kB / 0.6515 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.2287, allocations: 155.6 kB / 0.6516 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.085e-05/0.2287, allocations: 104.5 kB / 0.6517 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.2287, allocations: 78.41 kB / 0.6518 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.2287, allocations: 160.1 kB / 0.652 GB, free: 54 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.2288, allocations: 151.1 kB / 0.6521 GB, free: 53.85 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.431e-05/0.2288, allocations: 152.7 kB / 0.6523 GB, free: 53.7 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001766/0.2289, allocations: 485.8 kB / 0.6527 GB, free: 53.25 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 3.312e-05/0.229, allocations: 170 kB / 0.6529 GB, free: 53.08 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.21e-05/0.229, allocations: 88.02 kB / 0.653 GB, free: 52.99 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 8.245e-06/0.229, allocations: 77.34 kB / 0.653 GB, free: 52.92 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.447e-05/0.229, allocations: 115.3 kB / 0.6531 GB, free: 52.8 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.229, allocations: 0 / 0.6531 GB, free: 52.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 0.000108/0.2291, allocations: 58.95 kB / 0.6532 GB, free: 52.75 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.26e-05/0.2291, allocations: 126.7 kB / 0.6533 GB, free: 52.62 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.2294, allocations: 320.8 kB / 0.6536 GB, free: 52.5 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.791e-06/0.2294, allocations: 26.92 kB / 0.6537 GB, free: 52.47 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.626e-05/0.2294, allocations: 124 kB / 0.6538 GB, free: 52.38 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-06/0.2294, allocations: 1.219 kB / 0.6538 GB, free: 52.38 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.503e-05/0.2294, allocations: 58.98 kB / 0.6538 GB, free: 52.36 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.426e-05/0.2295, allocations: 331 kB / 0.6541 GB, free: 52.05 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.069e-05/0.2295, allocations: 63.02 kB / 0.6542 GB, free: 52.05 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.049e-05/0.2296, allocations: 125.5 kB / 0.6543 GB, free: 51.99 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.2298, allocations: 203.8 kB / 0.6545 GB, free: 51.93 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2298, allocations: 0 / 0.6545 GB, free: 51.93 MB / 0.5573 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002683/0.23, allocations: 233.3 kB / 0.6547 GB, free: 51.88 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.23, allocations: 8.047 kB / 0.6548 GB, free: 51.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.23, allocations: 4.625 kB / 0.6548 GB, free: 51.88 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.2301, allocations: 7.031 kB / 0.6548 GB, free: 51.88 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.983e-06/0.2301, allocations: 2.422 kB / 0.6548 GB, free: 51.88 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.2301, allocations: 4.891 kB / 0.6548 GB, free: 51.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.567e-05/0.2301, allocations: 26.33 kB / 0.6548 GB, free: 51.86 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.2301, allocations: 8.344 kB / 0.6548 GB, free: 51.86 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.0001344/0.2303, allocations: 233.9 kB / 0.655 GB, free: 51.66 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.807e-05/0.2303, allocations: 121 kB / 0.6551 GB, free: 51.54 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.866e-05/0.2303, allocations: 111.7 kB / 0.6552 GB, free: 51.44 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.2303, allocations: 185 kB / 0.6554 GB, free: 51.25 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-05/0.2303, allocations: 182.8 kB / 0.6556 GB, free: 51.07 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.655e-05/0.2304, allocations: 182.8 kB / 0.6558 GB, free: 50.89 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.2305, allocations: 418.8 kB / 0.6562 GB, free: 50.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.186e-06/0.2305, allocations: 107.2 kB / 0.6563 GB, free: 50.37 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.203e-06/0.2305, allocations: 106.7 kB / 0.6564 GB, free: 50.26 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.209e-05/0.2305, allocations: 178.8 kB / 0.6565 GB, free: 50.08 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.2305, allocations: 185.8 kB / 0.6567 GB, free: 49.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.297e-05/0.2305, allocations: 183.1 kB / 0.6569 GB, free: 49.71 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.304e-05/0.2305, allocations: 185.2 kB / 0.6571 GB, free: 49.53 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.704e-05/0.2306, allocations: 311.6 kB / 0.6574 GB, free: 49.21 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.848e-05/0.2306, allocations: 126.4 kB / 0.6575 GB, free: 49.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.2306, allocations: 180 kB / 0.6577 GB, free: 48.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.174e-05/0.2307, allocations: 112.3 kB / 0.6578 GB, free: 48.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.637e-05/0.2307, allocations: 178.8 kB / 0.6579 GB, free: 48.62 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.2307, allocations: 104.2 kB / 0.658 GB, free: 48.52 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001266/0.2309, allocations: 220 kB / 0.6583 GB, free: 48.44 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.1e-08/0.2309, allocations: 0 / 0.6583 GB, free: 48.44 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002381/0.2311, allocations: 66.42 kB / 0.6583 GB, free: 48.43 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.0003071/0.2314, allocations: 0.9149 MB / 0.6592 GB, free: 47.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.000121/0.2315, allocations: 84.77 kB / 0.6593 GB, free: 47.59 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2315, allocations: 1.781 kB / 0.6593 GB, free: 47.59 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 8.71e-07/0.2315, allocations: 0 / 0.6593 GB, free: 47.59 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/0.2317, allocations: 470.9 kB / 0.6597 GB, free: 47.14 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.2332, allocations: 2.453 MB / 0.6621 GB, free: 45.4 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.266e-05/0.2332, allocations: 130.9 kB / 0.6623 GB, free: 45.31 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.098e-05/0.2332, allocations: 2.953 kB / 0.6623 GB, free: 45.31 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.83e-05/0.2333, allocations: 35.69 kB / 0.6623 GB, free: 45.29 MB / 0.5573 GB Notification: Performance of SimCode: time 4.71e-07/0.2333, allocations: 0 / 0.6623 GB, free: 45.29 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01903/0.2523, allocations: 5.599 MB / 0.6678 GB, free: 44.14 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.654/6.906, allocations: 2.469 kB / 0.6678 GB, free: 44.14 MB / 0.5573 GB " [Timeout remaining time 653] (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: 9.453330877237022] Failed to read output from testmodel.py, exit status != 0: 6.987956407479942 6.998427066 6.768353714 Calling exit ...