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.001446/0.001446, allocations: 117.7 kB / 17.13 MB, free: 5.918 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.001506/0.001506, allocations: 191.7 kB / 20.08 MB, free: 2.988 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.588/1.588, allocations: 225.6 MB / 248.5 MB, free: 3.629 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.002434/0.002434, allocations: 278.3 kB / 303.6 MB, free: 3.742 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.108/1.108, allocations: 180.9 MB / 0.5268 GB, free: 2.719 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,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.002834/0.002834, allocations: 95.84 kB / 0.7259 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6774/0.6802, allocations: 94.17 MB / 0.8179 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01294/0.6932, allocations: 11.03 MB / 0.8286 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01704/0.7102, allocations: 8.892 MB / 0.8373 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002291/0.7125, allocations: 59.38 kB / 0.8374 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.005143/0.7176, allocations: 1.694 MB / 0.839 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006784/0.7244, allocations: 1.565 MB / 0.8406 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002595/0.727, allocations: 0.6721 MB / 0.8412 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005058/0.7321, allocations: 2.285 MB / 0.8435 GB, free: 6.367 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002387/0.7345, allocations: 1.092 MB / 0.8445 GB, free: 5.84 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002937/0.7374, allocations: 1.019 MB / 0.8455 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002755/0.7402, allocations: 1.066 MB / 0.8466 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003461/0.7405, allocations: 138.2 kB / 0.8467 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00278/0.7433, allocations: 0.8205 MB / 0.8475 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001055/0.7443, allocations: 0.5754 MB / 0.8481 GB, free: 4.438 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001675/0.746, allocations: 0.8823 MB / 0.8489 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006363/0.7524, allocations: 2.579 MB / 0.8514 GB, free: 2.988 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 9.978e-06/0.7524, allocations: 4.906 kB / 0.8514 GB, free: 2.984 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.005e-06/0.7524, allocations: 0 / 0.8514 GB, free: 2.984 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.156e-05/0.7525, allocations: 3.938 kB / 0.8514 GB, free: 2.98 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.006154/0.7586, allocations: 2.08 MB / 0.8535 GB, free: 1.625 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.7587, allocations: 9.625 kB / 0.8535 GB, free: 1.625 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01379/0.7725, allocations: 2.056 MB / 0.8555 GB, free: 0.6875 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003758/0.7762, allocations: 1.227 MB / 0.8567 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.886e-05/0.7763, allocations: 84.64 kB / 0.8568 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003387/0.7767, allocations: 118.9 kB / 0.8569 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006691/0.7833, allocations: 2.488 MB / 0.8593 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.967e-05/0.7834, allocations: 10.52 kB / 0.8593 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001855/0.7836, allocations: 58.59 kB / 0.8594 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003895/0.784, allocations: 130.9 kB / 0.8595 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008117/0.7921, allocations: 2.539 MB / 0.862 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01734/0.8094, allocations: 10.05 MB / 0.8718 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006831/0.8163, allocations: 1.908 MB / 0.8737 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00301/0.8193, allocations: 0.9509 MB / 0.8746 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.509e-05/0.8193, allocations: 9.578 kB / 0.8746 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.248e-05/0.8194, allocations: 41.69 kB / 0.8746 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=53): time 3.387e-06/0.8194, allocations: 1.344 kB / 0.8746 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of matching and sorting (n=81): time 0.03426/0.8536, allocations: 8.715 MB / 0.8831 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/0.8537, allocations: 64 kB / 0.8832 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00183/0.8555, allocations: 1.101 MB / 0.8843 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001688/0.8557, allocations: 37.7 kB / 0.8843 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006863/0.8564, allocations: 0.755 MB / 0.8851 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003549/0.8568, allocations: 297.5 kB / 0.8853 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004517/0.8572, allocations: 198.5 kB / 0.8855 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001824/0.8574, allocations: 345.9 kB / 0.8859 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003264/0.8606, allocations: 1.071 MB / 0.8869 GB, free: 9.277 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003452/0.8641, allocations: 1.305 MB / 0.8882 GB, free: 7.875 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006633/0.8707, allocations: 2.378 MB / 0.8905 GB, free: 5.398 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.496e-05/0.8707, allocations: 0 / 0.8905 GB, free: 5.398 MB / 0.6231 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009942/0.8807, allocations: 3.261 MB / 0.8937 GB, free: 2.105 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.75e-05/0.8807, allocations: 8.875 kB / 0.8937 GB, free: 2.098 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.8807, allocations: 4 kB / 0.8937 GB, free: 2.094 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003176/0.8839, allocations: 0.7911 MB / 0.8945 GB, free: 1.277 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002047/0.886, allocations: 415.2 kB / 0.8949 GB, free: 0.8711 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01977/0.9057, allocations: 15.92 MB / 0.9104 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002787/0.9085, allocations: 287.5 kB / 0.9107 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001672/0.9087, allocations: 51.97 kB / 0.9107 GB, free: 15.49 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.001027/0.9097, allocations: 407.6 kB / 0.9111 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003667/0.9101, allocations: 155 kB / 0.9113 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009847/0.9199, allocations: 3.171 MB / 0.9144 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-05/0.92, allocations: 11.94 kB / 0.9144 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.727e-05/0.92, allocations: 12.12 kB / 0.9144 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.92, allocations: 3.984 kB / 0.9144 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01304/0.933, allocations: 4.875 MB / 0.9192 GB, free: 6.699 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/0.933, allocations: 12 kB / 0.9192 GB, free: 6.688 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001761/0.9348, allocations: 351.4 kB / 0.9195 GB, free: 6.344 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00258/0.9374, allocations: 0.6978 MB / 0.9202 GB, free: 5.621 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001271/0.9375, allocations: 27.97 kB / 0.9202 GB, free: 5.594 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01901/0.9565, allocations: 15.55 MB / 0.9354 GB, free: 4.918 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.9565, allocations: 4.031 kB / 0.9354 GB, free: 4.914 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009161/0.9657, allocations: 3.021 MB / 0.9384 GB, free: 1.812 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001012/0.9667, allocations: 392 kB / 0.9387 GB, free: 1.41 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002213/0.9669, allocations: 20 kB / 0.9387 GB, free: 1.391 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001954/0.9689, allocations: 291.4 kB / 0.939 GB, free: 1.105 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002738/0.9691, allocations: 80.48 kB / 0.9391 GB, free: 1.027 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001097/0.9693, allocations: 39.97 kB / 0.9391 GB, free: 0.9883 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001103/0.9704, allocations: 0.7405 MB / 0.9399 GB, free: 252 kB / 0.67 GB Notification: Performance of sort global known variables: time 7e-08/0.9704, allocations: 0 / 0.9399 GB, free: 252 kB / 0.67 GB Notification: Performance of remove unused functions: time 0.001707/0.9721, allocations: 428 kB / 0.9403 GB, free: 15.82 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.0002896/0.9724, allocations: 131.7 kB / 0.9404 GB, free: 15.69 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.009208/0.9816, allocations: 3.523 MB / 0.9438 GB, free: 12.06 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/0.9816, allocations: 3.938 kB / 0.9438 GB, free: 12.06 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00547/0.987, allocations: 2.313 MB / 0.9461 GB, free: 9.641 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002571/0.9896, allocations: 0.5267 MB / 0.9466 GB, free: 9.137 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00837/0.998, allocations: 3.591 MB / 0.9501 GB, free: 5.484 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001235/0.9992, allocations: 1.388 MB / 0.9515 GB, free: 4.062 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006209/0.9998, allocations: 131.3 kB / 0.9516 GB, free: 3.934 MB / 0.6856 GB Notification: Performance of SimCode: time 8.11e-07/0.9998, allocations: 0 / 0.9516 GB, free: 3.934 MB / 0.6856 GB Notification: Performance of Templates: time 0.08821/1.088, allocations: 75.19 MB / 1.025 GB, free: 8.812 MB / 0.7637 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: 16.427920734044164] Failed to read output from testmodel.py, exit status != 0: 1.0980113898403943 1.110793018 0.355361146 Calling exit ...