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.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.001345/0.001345, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001293/0.001293, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.412/1.412, allocations: 225.6 MB / 249.4 MB, free: 3.297 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.002432/0.002432, allocations: 288.6 kB / 304.8 MB, free: 3.43 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.052/1.052, allocations: 180.9 MB / 0.5281 GB, free: 1.977 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,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: Performance of FrontEnd - loaded program: time 0.002861/0.002861, allocations: 95.84 kB / 0.7283 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4576/0.4604, allocations: 94.16 MB / 0.8203 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01418/0.4746, allocations: 11.31 MB / 0.8313 GB, free: 12 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01418/0.4888, allocations: 9.098 MB / 0.8402 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001243/0.49, allocations: 54.31 kB / 0.8403 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004579/0.4946, allocations: 1.731 MB / 0.842 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004407/0.499, allocations: 1.56 MB / 0.8435 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001804/0.5008, allocations: 0.6842 MB / 0.8441 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003098/0.5039, allocations: 2.294 MB / 0.8464 GB, free: 440 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001636/0.5056, allocations: 0.9673 MB / 0.8473 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001748/0.5073, allocations: 1.014 MB / 0.8483 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00192/0.5092, allocations: 1.064 MB / 0.8494 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003551/0.5096, allocations: 145.7 kB / 0.8495 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001827/0.5114, allocations: 0.82 MB / 0.8503 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007562/0.5122, allocations: 0.5701 MB / 0.8509 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001595/0.5138, allocations: 0.8941 MB / 0.8517 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003983/0.5178, allocations: 2.578 MB / 0.8542 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.5178, allocations: 0 / 0.8542 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5178, allocations: 0 / 0.8542 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.326e-05/0.5178, allocations: 0 / 0.8542 GB, free: 10.94 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.003417/0.5212, allocations: 2.07 MB / 0.8563 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.5212, allocations: 12.03 kB / 0.8563 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01085/0.5321, allocations: 2.059 MB / 0.8583 GB, free: 6.738 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002236/0.5343, allocations: 1.225 MB / 0.8595 GB, free: 5.457 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.097e-05/0.5344, allocations: 86.7 kB / 0.8596 GB, free: 5.371 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002391/0.5346, allocations: 120.1 kB / 0.8597 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005371/0.54, allocations: 2.478 MB / 0.8621 GB, free: 2.625 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.227e-05/0.54, allocations: 19.81 kB / 0.8621 GB, free: 2.605 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001609/0.5402, allocations: 52 kB / 0.8622 GB, free: 2.555 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003302/0.5405, allocations: 126.1 kB / 0.8623 GB, free: 2.43 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007033/0.5476, allocations: 2.541 MB / 0.8648 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01346/0.561, allocations: 10.05 MB / 0.8746 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006005/0.567, allocations: 1.917 MB / 0.8765 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002676/0.5697, allocations: 0.9425 MB / 0.8774 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.618e-05/0.5698, allocations: 4.438 kB / 0.8774 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.5698, allocations: 39 kB / 0.8774 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=53): time 1.923e-06/0.5698, allocations: 0 / 0.8774 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of matching and sorting (n=81): time 0.03013/0.5999, allocations: 8.721 MB / 0.8859 GB, free: 9.441 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.6, allocations: 60.06 kB / 0.886 GB, free: 9.371 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001458/0.6014, allocations: 1.097 MB / 0.8871 GB, free: 8.258 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.608e-05/0.6015, allocations: 41.7 kB / 0.8871 GB, free: 8.211 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006012/0.6021, allocations: 0.759 MB / 0.8879 GB, free: 7.445 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002885/0.6024, allocations: 293.5 kB / 0.8881 GB, free: 7.156 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004187/0.6028, allocations: 202.5 kB / 0.8883 GB, free: 6.953 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.603, allocations: 345.9 kB / 0.8887 GB, free: 6.609 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002905/0.6059, allocations: 1.071 MB / 0.8897 GB, free: 5.535 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003102/0.609, allocations: 1.305 MB / 0.891 GB, free: 4.133 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005934/0.6149, allocations: 2.39 MB / 0.8933 GB, free: 1.645 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.6149, allocations: 0 / 0.8933 GB, free: 1.645 MB / 0.6231 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008655/0.6236, allocations: 3.258 MB / 0.8965 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.6236, allocations: 9.875 kB / 0.8965 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.6236, allocations: 4 kB / 0.8965 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002805/0.6264, allocations: 0.7873 MB / 0.8973 GB, free: 13.53 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001851/0.6283, allocations: 415.3 kB / 0.8977 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01775/0.646, allocations: 15.92 MB / 0.9132 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002183/0.6482, allocations: 291.5 kB / 0.9135 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/0.6483, allocations: 56.03 kB / 0.9135 GB, free: 11.74 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.0007224/0.6491, allocations: 397.4 kB / 0.9139 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002581/0.6493, allocations: 151.1 kB / 0.9141 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008749/0.6581, allocations: 3.175 MB / 0.9172 GB, free: 7.98 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.6581, allocations: 11.94 kB / 0.9172 GB, free: 7.969 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.6581, allocations: 11.94 kB / 0.9172 GB, free: 7.957 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.6581, allocations: 3.984 kB / 0.9172 GB, free: 7.953 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01107/0.6692, allocations: 4.874 MB / 0.922 GB, free: 2.961 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.6692, allocations: 7.938 kB / 0.922 GB, free: 2.953 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001602/0.6708, allocations: 351.4 kB / 0.9223 GB, free: 2.609 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002393/0.6732, allocations: 0.6942 MB / 0.923 GB, free: 1.891 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001039/0.6733, allocations: 35.95 kB / 0.923 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01663/0.6899, allocations: 15.55 MB / 0.9382 GB, free: 1.18 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.6899, allocations: 7.969 kB / 0.9382 GB, free: 1.172 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008191/0.6981, allocations: 3.025 MB / 0.9412 GB, free: 14.06 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007059/0.6988, allocations: 391.9 kB / 0.9415 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002073/0.699, allocations: 20 kB / 0.9415 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001777/0.7008, allocations: 299.4 kB / 0.9418 GB, free: 13.35 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000261/0.7011, allocations: 72.5 kB / 0.9419 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/0.7012, allocations: 39.95 kB / 0.9419 GB, free: 13.24 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001044/0.7022, allocations: 0.7366 MB / 0.9427 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7022, allocations: 0 / 0.9427 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001374/0.7036, allocations: 432 kB / 0.9431 GB, free: 12.08 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.000236/0.7038, allocations: 133.6 kB / 0.9432 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.008365/0.7122, allocations: 3.519 MB / 0.9466 GB, free: 8.316 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.7122, allocations: 0 / 0.9466 GB, free: 8.316 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.004972/0.7172, allocations: 2.317 MB / 0.9489 GB, free: 5.898 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002039/0.7192, allocations: 0.5268 MB / 0.9494 GB, free: 5.395 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007233/0.7264, allocations: 3.5 MB / 0.9528 GB, free: 1.84 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001147/0.7276, allocations: 1.395 MB / 0.9542 GB, free: 420 kB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001223/0.7288, allocations: 375.9 kB / 0.9546 GB, free: 40 kB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003716/0.7292, allocations: 111.4 kB / 0.9547 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of SimCode: time 4.91e-07/0.7292, allocations: 0 / 0.9547 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of Templates: time 0.05074/0.7799, allocations: 31.27 MB / 0.9852 GB, free: 1.066 MB / 0.7169 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: 7.1226443676277995]