Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.001245/0.001245, allocations: 118.7 kB / 17.13 MB, free: 5.758 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.001279/0.001279, allocations: 193.2 kB / 20.08 MB, free: 2.848 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.468/1.468, allocations: 225.6 MB / 248.5 MB, free: 3.652 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.002471/0.002471, allocations: 282 kB / 303.6 MB, free: 3.727 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.094/1.094, allocations: 180.9 MB / 0.5268 GB, free: 2.723 MB / 382.1 MB " [Timeout remaining time 178] 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: translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.004226/0.004226, allocations: 103.8 kB / 0.7259 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6197/0.6239, allocations: 94.15 MB / 0.8179 GB, free: 7.43 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.006533/0.6304, allocations: 5.533 MB / 0.8233 GB, free: 3.66 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.004285/0.6347, allocations: 2.651 MB / 0.8259 GB, free: 1.867 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005706/0.6353, allocations: 20.47 kB / 0.8259 GB, free: 1.859 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.001863/0.6372, allocations: 0.6957 MB / 0.8265 GB, free: 1.441 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.00119/0.6384, allocations: 423 kB / 0.827 GB, free: 1.195 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.6395, allocations: 389.2 kB / 0.8273 GB, free: 1.012 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.001116/0.6406, allocations: 0.9608 MB / 0.8283 GB, free: 0.5742 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005656/0.6412, allocations: 373.5 kB / 0.8286 GB, free: 428 kB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005205/0.6417, allocations: 370.7 kB / 0.829 GB, free: 272 kB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005617/0.6422, allocations: 431.7 kB / 0.8294 GB, free: 96 kB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 7.337e-05/0.6423, allocations: 48.88 kB / 0.8294 GB, free: 96 kB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000812/0.6431, allocations: 376.7 kB / 0.8298 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003041/0.6434, allocations: 255.9 kB / 0.83 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00038/0.6438, allocations: 348.9 kB / 0.8304 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001443/0.6453, allocations: 0.9681 MB / 0.8313 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.6453, allocations: 2.219 kB / 0.8313 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6453, allocations: 0 / 0.8313 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.6453, allocations: 0 / 0.8313 GB, free: 15.32 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001822/0.6471, allocations: 0.9983 MB / 0.8323 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.6471, allocations: 10.78 kB / 0.8323 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001428/0.6486, allocations: 193.4 kB / 0.8325 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008572/0.6494, allocations: 0.5216 MB / 0.833 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.693e-05/0.6495, allocations: 45.28 kB / 0.833 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001508/0.6496, allocations: 47.89 kB / 0.8331 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.6509, allocations: 0.8277 MB / 0.8339 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.976e-05/0.6509, allocations: 10.7 kB / 0.8339 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.591e-05/0.651, allocations: 25.48 kB / 0.8339 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001941/0.6511, allocations: 64.28 kB / 0.834 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009251/0.6521, allocations: 0.5729 MB / 0.8345 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004927/0.657, allocations: 4.574 MB / 0.839 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000545/0.6575, allocations: 276.2 kB / 0.8393 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003626/0.6579, allocations: 215.6 kB / 0.8395 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.495e-05/0.6579, allocations: 3.906 kB / 0.8395 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.28e-05/0.658, allocations: 37.8 kB / 0.8395 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 2.375e-06/0.658, allocations: 0.9688 kB / 0.8395 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of matching and sorting (n=40): time 0.006805/0.6648, allocations: 2.634 MB / 0.8421 GB, free: 7.91 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/0.6648, allocations: 55.47 kB / 0.8421 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006922/0.6655, allocations: 461.1 kB / 0.8426 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.982e-05/0.6656, allocations: 36.11 kB / 0.8426 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002837/0.6659, allocations: 350 kB / 0.843 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/0.666, allocations: 142.2 kB / 0.8431 GB, free: 7.188 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001853/0.6662, allocations: 110.2 kB / 0.8432 GB, free: 7.125 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001895/0.6664, allocations: 360.6 kB / 0.8435 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003955/0.6668, allocations: 237 kB / 0.8438 GB, free: 6.707 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005346/0.6673, allocations: 415.6 kB / 0.8442 GB, free: 6.41 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009746/0.6683, allocations: 0.6738 MB / 0.8448 GB, free: 5.977 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.6683, allocations: 1 kB / 0.8448 GB, free: 5.977 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001907/0.6702, allocations: 0.9119 MB / 0.8457 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.6702, allocations: 7.594 kB / 0.8457 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.6702, allocations: 10.23 kB / 0.8457 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008751/0.6711, allocations: 228.4 kB / 0.8459 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005312/0.6716, allocations: 119.3 kB / 0.8461 GB, free: 5.504 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005987/0.6776, allocations: 5.339 MB / 0.8513 GB, free: 0.832 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006372/0.6783, allocations: 33.58 kB / 0.8513 GB, free: 0.8203 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.685e-05/0.6783, allocations: 22.69 kB / 0.8513 GB, free: 0.8164 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 initialization (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004096/0.6787, allocations: 222 kB / 0.8515 GB, free: 0.6484 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.6788, allocations: 64.81 kB / 0.8516 GB, free: 0.6133 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001716/0.6805, allocations: 0.7659 MB / 0.8523 GB, free: 284 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.6805, allocations: 4.469 kB / 0.8524 GB, free: 284 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.6806, allocations: 1.344 kB / 0.8524 GB, free: 284 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.505e-06/0.6806, allocations: 8.094 kB / 0.8524 GB, free: 280 kB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002886/0.6834, allocations: 1.486 MB / 0.8538 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.6835, allocations: 2.75 kB / 0.8538 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003966/0.6838, allocations: 71.73 kB / 0.8539 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007666/0.6846, allocations: 206.4 kB / 0.8541 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.497e-05/0.6846, allocations: 12.62 kB / 0.8541 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00574/0.6904, allocations: 5.273 MB / 0.8592 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.6904, allocations: 1.406 kB / 0.8592 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002091/0.6925, allocations: 1.129 MB / 0.8603 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003471/0.6928, allocations: 175.6 kB / 0.8605 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.476e-05/0.6929, allocations: 18.95 kB / 0.8605 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003409/0.6932, allocations: 22.61 kB / 0.8606 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.6934, allocations: 42.42 kB / 0.8606 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.19e-05/0.6934, allocations: 13.91 kB / 0.8606 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004289/0.6938, allocations: 311.9 kB / 0.8609 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.6938, allocations: 0 / 0.8609 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000803/0.6946, allocations: 166.4 kB / 0.8611 GB, free: 9.805 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001837/0.6948, allocations: 115.7 kB / 0.8612 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001781/0.6966, allocations: 0.9648 MB / 0.8621 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.6966, allocations: 0.7188 kB / 0.8621 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001076/0.6977, allocations: 0.666 MB / 0.8628 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009362/0.6986, allocations: 194 kB / 0.863 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002267/0.7009, allocations: 1.32 MB / 0.8642 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006074/0.7015, allocations: 0.9523 MB / 0.8652 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.7016, allocations: 40.28 kB / 0.8652 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of SimCode: time 1.293e-06/0.7016, allocations: 3.938 kB / 0.8652 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of Templates: time 0.02053/0.7221, allocations: 14.85 MB / 0.8797 GB, free: 14.84 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.225833497010171] Failed to read output from testmodel.py, exit status != 0: 0.7315220020245761 0.74313233 0.09508013900000001 Calling exit ...