Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.001731/0.001731, allocations: 78.34 kB / 19 MB, free: 2.867 MB / 14.72 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.001433/0.001433, allocations: 159.3 kB / 22.25 MB, free: 5.137 MB / 14.72 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 1.383/1.383, allocations: 177.2 MB / 202.6 MB, free: 9.277 MB / 190.1 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.002436/0.002436, allocations: 225.2 kB / 259.2 MB, free: 0.6016 MB / 238.1 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 1.046/1.046, allocations: 138.5 MB / 454.2 MB, free: 2.055 MB / 366.1 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: translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003099/0.003099, allocations: 100.3 kB / 0.6466 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3781/0.3812, allocations: 95.35 MB / 0.7397 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.0134/0.3946, allocations: 10.23 MB / 0.7497 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0143/0.4089, allocations: 8.434 MB / 0.7579 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001356/0.4103, allocations: 75.31 kB / 0.758 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004898/0.4152, allocations: 1.668 MB / 0.7596 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004947/0.4201, allocations: 1.58 MB / 0.7612 GB, free: 9.188 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001944/0.4221, allocations: 0.6743 MB / 0.7618 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003376/0.4255, allocations: 2.29 MB / 0.7641 GB, free: 6.215 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002007/0.4275, allocations: 1.146 MB / 0.7652 GB, free: 5.035 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00274/0.4302, allocations: 1.422 MB / 0.7666 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001982/0.4322, allocations: 0.9998 MB / 0.7676 GB, free: 2.605 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003837/0.4326, allocations: 136 kB / 0.7677 GB, free: 2.473 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001671/0.4342, allocations: 0.7369 MB / 0.7684 GB, free: 1.734 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007703/0.435, allocations: 0.5802 MB / 0.769 GB, free: 1.152 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001227/0.4362, allocations: 0.7231 MB / 0.7697 GB, free: 436 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003553/0.4398, allocations: 2.603 MB / 0.7722 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.4398, allocations: 0 / 0.7722 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.283e-06/0.4398, allocations: 4 kB / 0.7722 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.404e-05/0.4399, allocations: 0 / 0.7722 GB, free: 13.81 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.00414/0.444, allocations: 1.995 MB / 0.7742 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.4441, allocations: 13.34 kB / 0.7742 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01084/0.4549, allocations: 2.059 MB / 0.7762 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002825/0.4577, allocations: 1.137 MB / 0.7773 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.161e-05/0.4578, allocations: 90.67 kB / 0.7774 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003471/0.4582, allocations: 124.1 kB / 0.7775 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005868/0.464, allocations: 2.884 MB / 0.7803 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.062e-05/0.4641, allocations: 7.938 kB / 0.7803 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001708/0.4643, allocations: 55.98 kB / 0.7804 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00035/0.4646, allocations: 126.1 kB / 0.7805 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007098/0.4717, allocations: 2.541 MB / 0.783 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01345/0.4852, allocations: 7.432 MB / 0.7903 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006172/0.4913, allocations: 1.843 MB / 0.792 GB, free: 8.973 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002744/0.4941, allocations: 0.9427 MB / 0.793 GB, free: 8.027 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.483e-05/0.4941, allocations: 8.5 kB / 0.793 GB, free: 8.02 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.759e-05/0.4942, allocations: 43.06 kB / 0.793 GB, free: 7.969 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=53): time 2.494e-06/0.4942, allocations: 0 / 0.793 GB, free: 7.969 MB / 0.6231 GB Notification: Performance of matching and sorting (n=81): time 0.03169/0.5259, allocations: 8.613 MB / 0.8014 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.001e-05/0.5259, allocations: 64 kB / 0.8015 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001623/0.5275, allocations: 0.9632 MB / 0.8024 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.000106/0.5276, allocations: 41.7 kB / 0.8025 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007119/0.5284, allocations: 0.7658 MB / 0.8032 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003127/0.5287, allocations: 289.5 kB / 0.8035 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004344/0.5291, allocations: 210.4 kB / 0.8037 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001759/0.5293, allocations: 345.9 kB / 0.804 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002954/0.5322, allocations: 1.075 MB / 0.8051 GB, free: 11.53 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003122/0.5354, allocations: 1.309 MB / 0.8064 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006019/0.5414, allocations: 2.37 MB / 0.8087 GB, free: 7.656 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.657e-06/0.5414, allocations: 8 kB / 0.8087 GB, free: 7.648 MB / 0.6387 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009126/0.5505, allocations: 3.238 MB / 0.8118 GB, free: 4.375 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.5505, allocations: 10.19 kB / 0.8118 GB, free: 4.367 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/0.5506, allocations: 8 kB / 0.8119 GB, free: 4.359 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00305/0.5536, allocations: 0.7917 MB / 0.8126 GB, free: 3.543 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001913/0.5555, allocations: 419.2 kB / 0.813 GB, free: 3.133 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01822/0.5737, allocations: 14.81 MB / 0.8275 GB, free: 3.508 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002176/0.5759, allocations: 295.5 kB / 0.8278 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001864/0.5761, allocations: 51.91 kB / 0.8278 GB, free: 3.168 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (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.0008165/0.5769, allocations: 397.5 kB / 0.8282 GB, free: 2.77 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003387/0.5773, allocations: 135.2 kB / 0.8283 GB, free: 2.637 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008959/0.5862, allocations: 3.169 MB / 0.8314 GB, free: 15.43 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.5862, allocations: 11.98 kB / 0.8314 GB, free: 15.42 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.213e-05/0.5863, allocations: 8 kB / 0.8314 GB, free: 15.41 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.5863, allocations: 3.984 kB / 0.8314 GB, free: 15.41 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01161/0.5979, allocations: 4.476 MB / 0.8358 GB, free: 10.83 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/0.5979, allocations: 4.344 kB / 0.8358 GB, free: 10.82 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001623/0.5995, allocations: 355.4 kB / 0.8362 GB, free: 10.48 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002588/0.6021, allocations: 0.6975 MB / 0.8368 GB, free: 9.754 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/0.6022, allocations: 31.97 kB / 0.8369 GB, free: 9.723 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01648/0.6187, allocations: 14.42 MB / 0.851 GB, free: 10.49 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.6187, allocations: 8.156 kB / 0.851 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008097/0.6268, allocations: 3.008 MB / 0.8539 GB, free: 7.395 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000824/0.6276, allocations: 298.9 kB / 0.8542 GB, free: 7.102 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001895/0.6278, allocations: 24 kB / 0.8542 GB, free: 7.078 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001748/0.6295, allocations: 287.5 kB / 0.8545 GB, free: 6.797 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002479/0.6298, allocations: 88.38 kB / 0.8546 GB, free: 6.711 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001121/0.6299, allocations: 43.91 kB / 0.8546 GB, free: 6.668 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009086/0.6308, allocations: 0.6346 MB / 0.8552 GB, free: 6.027 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/0.6308, allocations: 0 / 0.8552 GB, free: 6.027 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001409/0.6322, allocations: 431.9 kB / 0.8556 GB, free: 5.605 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002417/0.6325, allocations: 127.1 kB / 0.8558 GB, free: 5.473 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.008445/0.6409, allocations: 3.511 MB / 0.8592 GB, free: 1.852 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.6409, allocations: 3.938 kB / 0.8592 GB, free: 1.848 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.004955/0.6459, allocations: 2.331 MB / 0.8615 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001806/0.6477, allocations: 476.3 kB / 0.8619 GB, free: 14.97 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00724/0.6549, allocations: 3.493 MB / 0.8653 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009505/0.6559, allocations: 0.8015 MB / 0.8661 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001149/0.657, allocations: 362.6 kB / 0.8665 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003414/0.6573, allocations: 100.4 kB / 0.8666 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of SimCode: time 5.01e-07/0.6573, allocations: 0 / 0.8666 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of Templates: time 0.05022/0.7076, allocations: 30.94 MB / 0.8968 GB, free: 11.79 MB / 0.7325 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.701971342787147] Failed to read output from testmodel.py, exit status != 0: 0.7170621175318956 0.732657534 0.28954703699999995 Calling exit ...