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.0008149/0.0008149, 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.0009099/0.0009099, 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.8969/0.8969, allocations: 177.1 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.002235/0.002235, allocations: 226.6 kB / 259.4 MB, free: 13.02 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.674/0.674, allocations: 138.4 MB / 454.3 MB, free: 29.96 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.943e-06/1.943e-06, allocations: 0 / 0.6463 GB, free: 1.906 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.012e-05/2.206e-05, allocations: 8.891 kB / 0.6463 GB, free: 1.898 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001944/0.001966, allocations: 1.427 MB / 0.6477 GB, free: 468 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2422/0.2442, allocations: 2.384 MB / 0.65 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.227e-05/0.2442, allocations: 0 / 0.65 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001281/0.2455, allocations: 0.5511 MB / 0.6505 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.536e-05/0.2455, allocations: 20.67 kB / 0.6506 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 4.549e-06/0.2455, allocations: 2.469 kB / 0.6506 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002191/0.2457, allocations: 171.2 kB / 0.6507 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 5.966e-05/0.2458, allocations: 12.12 kB / 0.6507 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.2459, allocations: 83.22 kB / 0.6508 GB, free: 55.04 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.246, allocations: 66.88 kB / 0.6509 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.246, allocations: 2.031 kB / 0.6509 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006297/0.2467, allocations: 409.8 kB / 0.6513 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.853e-05/0.2467, allocations: 36.61 kB / 0.6513 GB, free: 54.97 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.976e-05/0.2468, allocations: 57.02 kB / 0.6514 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0004224/0.2472, allocations: 455.2 kB / 0.6518 GB, free: 54.83 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.2472, allocations: 0 / 0.6518 GB, free: 54.83 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2472, allocations: 0 / 0.6518 GB, free: 54.83 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.2472, allocations: 0 / 0.6518 GB, free: 54.83 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.0004768/0.2477, allocations: 491 kB / 0.6523 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.2477, allocations: 12 kB / 0.6523 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.288e-05/0.2478, allocations: 107.7 kB / 0.6524 GB, free: 54.35 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.783e-05/0.2478, allocations: 107.4 kB / 0.6525 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.248, allocations: 243.7 kB / 0.6527 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.248, allocations: 156.9 kB / 0.6529 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.248, allocations: 153.9 kB / 0.653 GB, free: 53.74 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.695e-05/0.248, allocations: 104.2 kB / 0.6531 GB, free: 53.63 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.2481, allocations: 76.88 kB / 0.6532 GB, free: 53.56 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.2481, allocations: 152.7 kB / 0.6533 GB, free: 53.41 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.2481, allocations: 157.1 kB / 0.6535 GB, free: 53.26 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.753e-05/0.2481, allocations: 156.8 kB / 0.6536 GB, free: 53.11 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002018/0.2483, allocations: 0.5041 MB / 0.6541 GB, free: 52.64 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 4.227e-05/0.2483, allocations: 169.2 kB / 0.6543 GB, free: 52.47 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.372e-05/0.2484, allocations: 81.08 kB / 0.6543 GB, free: 52.39 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.027e-05/0.2484, allocations: 77.12 kB / 0.6544 GB, free: 52.32 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.2484, allocations: 114.7 kB / 0.6545 GB, free: 52.2 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 7.31e-07/0.2484, allocations: 2.5 kB / 0.6545 GB, free: 52.2 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 0.0001059/0.2485, allocations: 55.02 kB / 0.6546 GB, free: 52.15 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.47e-05/0.2485, allocations: 133.3 kB / 0.6547 GB, free: 52.01 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003043/0.2488, allocations: 436.2 kB / 0.6551 GB, free: 51.88 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.751e-06/0.2488, allocations: 29.64 kB / 0.6552 GB, free: 51.85 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.962e-05/0.2489, allocations: 136.8 kB / 0.6553 GB, free: 51.75 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-06/0.2489, allocations: 4.844 kB / 0.6553 GB, free: 51.75 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.417e-05/0.2489, allocations: 85.47 kB / 0.6554 GB, free: 51.73 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.967e-05/0.249, allocations: 340.3 kB / 0.6557 GB, free: 51.42 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.447e-05/0.2491, allocations: 98.48 kB / 0.6558 GB, free: 51.42 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.2492, allocations: 171.4 kB / 0.656 GB, free: 51.31 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.2494, allocations: 300.2 kB / 0.6562 GB, free: 51.17 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2494, allocations: 0 / 0.6562 GB, free: 51.17 MB / 0.5573 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003239/0.2497, allocations: 331.9 kB / 0.6566 GB, free: 51.03 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.2497, allocations: 7.484 kB / 0.6566 GB, free: 51.03 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.2497, allocations: 1.781 kB / 0.6566 GB, free: 51.03 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.2497, allocations: 2.281 kB / 0.6566 GB, free: 51.03 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.816e-06/0.2498, allocations: 9.219 kB / 0.6566 GB, free: 51.03 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.2498, allocations: 3.469 kB / 0.6566 GB, free: 51.03 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.976e-05/0.2498, allocations: 44.81 kB / 0.6566 GB, free: 50.99 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.2498, allocations: 3.625 kB / 0.6566 GB, free: 50.99 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.0001641/0.25, allocations: 250.1 kB / 0.6569 GB, free: 50.79 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/0.25, allocations: 129.1 kB / 0.657 GB, free: 50.66 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.469e-05/0.2501, allocations: 112.4 kB / 0.6571 GB, free: 50.55 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.421e-05/0.2501, allocations: 180.8 kB / 0.6573 GB, free: 50.36 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.71e-05/0.2501, allocations: 182.7 kB / 0.6574 GB, free: 50.18 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.497e-05/0.2501, allocations: 186.6 kB / 0.6576 GB, free: 49.99 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/0.2502, allocations: 439.7 kB / 0.658 GB, free: 49.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.415e-06/0.2503, allocations: 102.2 kB / 0.6581 GB, free: 49.46 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.768e-06/0.2503, allocations: 113 kB / 0.6582 GB, free: 49.35 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.369e-05/0.2503, allocations: 178 kB / 0.6584 GB, free: 49.17 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.2503, allocations: 182.9 kB / 0.6586 GB, free: 48.98 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-05/0.2503, allocations: 181.3 kB / 0.6588 GB, free: 48.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.53e-05/0.2503, allocations: 190.7 kB / 0.6589 GB, free: 48.61 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.131e-05/0.2504, allocations: 324.5 kB / 0.6593 GB, free: 48.28 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.108e-05/0.2504, allocations: 134.7 kB / 0.6594 GB, free: 48.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.22e-05/0.2504, allocations: 178.9 kB / 0.6596 GB, free: 47.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.399e-05/0.2505, allocations: 106 kB / 0.6597 GB, free: 47.87 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.94e-05/0.2505, allocations: 182.7 kB / 0.6598 GB, free: 47.68 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.198e-06/0.2505, allocations: 104.1 kB / 0.6599 GB, free: 47.58 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001806/0.2507, allocations: 284.7 kB / 0.6602 GB, free: 47.45 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.2507, allocations: 0 / 0.6602 GB, free: 47.45 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000281/0.251, allocations: 80.83 kB / 0.6603 GB, free: 47.44 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.0003962/0.2514, allocations: 0.9697 MB / 0.6612 GB, free: 46.55 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001636/0.2516, allocations: 119 kB / 0.6613 GB, free: 46.52 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.2516, allocations: 0 / 0.6613 GB, free: 46.52 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.2516, allocations: 1.594 kB / 0.6613 GB, free: 46.52 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.2518, allocations: 472.7 kB / 0.6618 GB, free: 46.05 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001961/0.2537, allocations: 2.954 MB / 0.6647 GB, free: 44.14 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.343e-05/0.2538, allocations: 168.8 kB / 0.6648 GB, free: 44.05 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.186e-05/0.2538, allocations: 2.312 kB / 0.6648 GB, free: 44.05 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.152e-05/0.2539, allocations: 58.14 kB / 0.6649 GB, free: 44 MB / 0.5573 GB Notification: Performance of SimCode: time 7.01e-07/0.2539, allocations: 0 / 0.6649 GB, free: 44 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02344/0.2773, allocations: 7.216 MB / 0.6719 GB, free: 42.75 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.651/6.928, allocations: 8.375 kB / 0.6719 GB, free: 42.75 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.607961202971637] Failed to read output from testmodel.py, exit status != 0: 7.0127226654440165 7.024122793 6.774762873 Calling exit ...