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.001321/0.001321, allocations: 104.6 kB / 16.4 MB, free: 6.504 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.001275/0.001275, allocations: 198.7 kB / 19.36 MB, free: 3.73 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.39/1.39, allocations: 222.9 MB / 245 MB, free: 14.99 MB / 206.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.00254/0.00254, allocations: 289.4 kB / 297.5 MB, free: 12.33 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.21/1.21, allocations: 178.6 MB / 0.5159 GB, free: 12.56 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 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.002829/0.002829, allocations: 103.8 kB / 0.7053 GB, free: 11.67 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.395/0.3979, allocations: 89.13 MB / 0.7923 GB, free: 2.117 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007701/0.4056, allocations: 5.463 MB / 0.7976 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005237/0.4109, allocations: 2.622 MB / 0.8002 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006785/0.4116, allocations: 24.62 kB / 0.8002 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002182/0.4138, allocations: 0.6782 MB / 0.8009 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001433/0.4153, allocations: 401.4 kB / 0.8013 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.4164, allocations: 394.5 kB / 0.8016 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0013/0.4177, allocations: 0.9604 MB / 0.8026 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007559/0.4185, allocations: 469.6 kB / 0.803 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006002/0.4191, allocations: 372.4 kB / 0.8034 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005593/0.4197, allocations: 401.3 kB / 0.8038 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.763e-05/0.4198, allocations: 48.78 kB / 0.8038 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007766/0.4206, allocations: 357.3 kB / 0.8042 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002981/0.4209, allocations: 254.3 kB / 0.8044 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004081/0.4213, allocations: 346.9 kB / 0.8047 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001412/0.4227, allocations: 0.973 MB / 0.8057 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.4227, allocations: 0 / 0.8057 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of FrontEnd: time 4.288e-06/0.4227, allocations: 0 / 0.8057 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.989e-06/0.4228, allocations: 3.938 kB / 0.8057 GB, free: 8.195 MB / 0.5606 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.001789/0.4245, allocations: 0.9891 MB / 0.8066 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.4246, allocations: 9.625 kB / 0.8067 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001405/0.426, allocations: 195.8 kB / 0.8068 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008515/0.4269, allocations: 0.5185 MB / 0.8073 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.881e-05/0.4269, allocations: 42.48 kB / 0.8074 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001826/0.4271, allocations: 58.53 kB / 0.8074 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/0.4284, allocations: 0.8272 MB / 0.8083 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.486e-05/0.4284, allocations: 3.031 kB / 0.8083 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.466e-05/0.4285, allocations: 22.83 kB / 0.8083 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002048/0.4287, allocations: 70.55 kB / 0.8083 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000923/0.4296, allocations: 0.5789 MB / 0.8089 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005958/0.4356, allocations: 4.57 MB / 0.8134 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000511/0.4361, allocations: 295.2 kB / 0.8137 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003605/0.4365, allocations: 231.6 kB / 0.8139 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/0.4365, allocations: 2.531 kB / 0.8139 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/0.4366, allocations: 38.12 kB / 0.8139 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.765e-06/0.4366, allocations: 0 / 0.8139 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.005999/0.4426, allocations: 2.639 MB / 0.8165 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.4427, allocations: 55.41 kB / 0.8165 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005852/0.4433, allocations: 462 kB / 0.817 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.149e-05/0.4433, allocations: 37.64 kB / 0.817 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002625/0.4436, allocations: 348.5 kB / 0.8174 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/0.4437, allocations: 150.8 kB / 0.8175 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001804/0.4439, allocations: 106.2 kB / 0.8176 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001996/0.4441, allocations: 362.8 kB / 0.8179 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004019/0.4445, allocations: 233 kB / 0.8182 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005456/0.4451, allocations: 410.5 kB / 0.8186 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009676/0.4461, allocations: 0.6869 MB / 0.8192 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4461, allocations: 0 / 0.8192 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001887/0.448, allocations: 0.9177 MB / 0.8201 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.448, allocations: 8.062 kB / 0.8201 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.448, allocations: 8 kB / 0.8201 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007968/0.4488, allocations: 222.4 kB / 0.8204 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005061/0.4493, allocations: 115.8 kB / 0.8205 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005749/0.4551, allocations: 5.336 MB / 0.8257 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004201/0.4555, allocations: 35.91 kB / 0.8257 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-05/0.4556, allocations: 24 kB / 0.8257 GB, free: 4.691 MB / 0.5762 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.0003037/0.4559, allocations: 222.2 kB / 0.8259 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.456, allocations: 63.62 kB / 0.826 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001594/0.4576, allocations: 0.7736 MB / 0.8268 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.4576, allocations: 4 kB / 0.8268 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.4576, allocations: 7.938 kB / 0.8268 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.4577, allocations: 0 / 0.8268 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002552/0.4602, allocations: 1.499 MB / 0.8282 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.4602, allocations: 0 / 0.8282 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003787/0.4606, allocations: 67.94 kB / 0.8283 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006914/0.4613, allocations: 206.5 kB / 0.8285 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.136e-05/0.4614, allocations: 8 kB / 0.8285 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005547/0.4669, allocations: 5.282 MB / 0.8337 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.4669, allocations: 4.031 kB / 0.8337 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001916/0.4688, allocations: 1.143 MB / 0.8348 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002358/0.4691, allocations: 176.7 kB / 0.8349 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.471e-05/0.4692, allocations: 15.92 kB / 0.835 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003287/0.4695, allocations: 28.11 kB / 0.835 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.693e-05/0.4696, allocations: 43.94 kB / 0.835 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.024e-05/0.4696, allocations: 12 kB / 0.835 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003617/0.47, allocations: 306.9 kB / 0.8353 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.47, allocations: 0 / 0.8353 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006875/0.4707, allocations: 172 kB / 0.8355 GB, free: 10.08 MB / 0.5919 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.000175/0.4709, allocations: 115.2 kB / 0.8356 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001714/0.4726, allocations: 1.012 MB / 0.8366 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.4726, allocations: 0 / 0.8366 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.4737, allocations: 0.6837 MB / 0.8373 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008898/0.4746, allocations: 178.3 kB / 0.8374 GB, free: 8.016 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.4766, allocations: 1.264 MB / 0.8387 GB, free: 6.699 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000625/0.4773, allocations: 0.9494 MB / 0.8396 GB, free: 5.723 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003162/0.4776, allocations: 117 kB / 0.8397 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.4777, allocations: 39.44 kB / 0.8397 GB, free: 5.566 MB / 0.5919 GB Notification: Performance of SimCode: time 3.5e-07/0.4777, allocations: 3.938 kB / 0.8398 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of Templates: time 0.01628/0.494, allocations: 8.955 MB / 0.8485 GB, free: 12.73 MB / 0.6075 GB " [Timeout remaining time 660] 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: 6.385843141004443]