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.001621/0.001621, allocations: 80.69 kB / 19.18 MB, free: 2.516 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.00204/0.00204, allocations: 159.6 kB / 22.46 MB, free: 5.375 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.414/1.414, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.002544/0.002544, allocations: 246 kB / 259.4 MB, free: 468 kB / 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.055/1.055, allocations: 138.4 MB / 454.3 MB, free: 1.965 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: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.6468 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.686e-05/1.828e-05, allocations: 2.281 kB / 0.6468 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.2461/0.2461, allocations: 10.18 MB / 0.6567 GB, free: 51.91 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009095/0.2552, allocations: 8.384 MB / 0.6649 GB, free: 47.01 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005947/0.2558, allocations: 80.53 kB / 0.665 GB, free: 46.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003483/0.2593, allocations: 1.664 MB / 0.6666 GB, free: 46.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002635/0.2619, allocations: 1.62 MB / 0.6682 GB, free: 45.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.2631, allocations: 0.6763 MB / 0.6689 GB, free: 44.69 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001614/0.2647, allocations: 2.369 MB / 0.6712 GB, free: 43.52 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001137/0.2659, allocations: 1.142 MB / 0.6723 GB, free: 42.92 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001465/0.2673, allocations: 1.385 MB / 0.6736 GB, free: 42.37 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001298/0.2686, allocations: 0.9039 MB / 0.6745 GB, free: 42.09 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001916/0.2688, allocations: 137.7 kB / 0.6747 GB, free: 42.09 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00124/0.2701, allocations: 0.7493 MB / 0.6754 GB, free: 41.87 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004898/0.2706, allocations: 0.5983 MB / 0.676 GB, free: 41.57 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006036/0.2712, allocations: 0.6064 MB / 0.6766 GB, free: 41.3 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002597/0.2738, allocations: 2.615 MB / 0.6791 GB, free: 40.44 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2738, allocations: 1.312 kB / 0.6791 GB, free: 40.44 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.214e-06/0.2738, allocations: 0.7969 kB / 0.6791 GB, free: 40.44 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.397e-05/0.2738, allocations: 0 / 0.6791 GB, free: 40.44 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.003009/0.2768, allocations: 1.978 MB / 0.6811 GB, free: 39.18 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.2768, allocations: 11 kB / 0.6811 GB, free: 39.18 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01219/0.289, allocations: 2.055 MB / 0.6831 GB, free: 39.05 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002238/0.2913, allocations: 1.139 MB / 0.6842 GB, free: 38.41 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.168e-05/0.2913, allocations: 89.3 kB / 0.6843 GB, free: 38.36 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002488/0.2916, allocations: 123.2 kB / 0.6844 GB, free: 38.32 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005662/0.2972, allocations: 2.882 MB / 0.6872 GB, free: 36.82 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.151e-05/0.2973, allocations: 7.734 kB / 0.6872 GB, free: 36.82 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001606/0.2974, allocations: 59.61 kB / 0.6873 GB, free: 36.78 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003487/0.2978, allocations: 128 kB / 0.6874 GB, free: 36.77 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007688/0.3055, allocations: 2.535 MB / 0.6899 GB, free: 36.14 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01107/0.3165, allocations: 7.431 MB / 0.6971 GB, free: 31.52 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006557/0.3231, allocations: 1.85 MB / 0.6989 GB, free: 30.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002828/0.3259, allocations: 0.9382 MB / 0.6998 GB, free: 30.23 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.995e-05/0.326, allocations: 10.22 kB / 0.6999 GB, free: 30.22 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.326, allocations: 42.59 kB / 0.6999 GB, free: 30.18 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=53): time 2.114e-06/0.326, allocations: 0.9062 kB / 0.6999 GB, free: 30.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=81): time 0.03238/0.3584, allocations: 8.63 MB / 0.7083 GB, free: 25.96 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.3584, allocations: 60.22 kB / 0.7084 GB, free: 25.89 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/0.3598, allocations: 0.9642 MB / 0.7093 GB, free: 25.35 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001119/0.3599, allocations: 41.48 kB / 0.7094 GB, free: 25.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003694/0.3602, allocations: 0.7598 MB / 0.7101 GB, free: 24.63 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002116/0.3604, allocations: 286.3 kB / 0.7104 GB, free: 24.38 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003821/0.3608, allocations: 201.1 kB / 0.7106 GB, free: 24.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.746e-05/0.3609, allocations: 345 kB / 0.7109 GB, free: 23.93 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003044/0.3639, allocations: 1.073 MB / 0.7119 GB, free: 23.38 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003131/0.3671, allocations: 1.304 MB / 0.7132 GB, free: 22.55 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006261/0.3733, allocations: 2.388 MB / 0.7155 GB, free: 21.15 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.3733, allocations: 2.219 kB / 0.7156 GB, free: 21.15 MB / 0.5606 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008951/0.3823, allocations: 3.237 MB / 0.7187 GB, free: 19.38 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.3823, allocations: 6.875 kB / 0.7187 GB, free: 19.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.3823, allocations: 8.25 kB / 0.7187 GB, free: 19.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002754/0.3851, allocations: 0.7848 MB / 0.7195 GB, free: 18.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001947/0.387, allocations: 421.1 kB / 0.7199 GB, free: 18.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01235/0.3994, allocations: 14.8 MB / 0.7344 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002257/0.4016, allocations: 296.5 kB / 0.7346 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001353/0.4018, allocations: 47.97 kB / 0.7347 GB, free: 5.203 MB / 0.5606 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.0007626/0.4025, allocations: 397.4 kB / 0.7351 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003021/0.4028, allocations: 143.1 kB / 0.7352 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008395/0.4112, allocations: 3.165 MB / 0.7383 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.4112, allocations: 8 kB / 0.7383 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.879e-05/0.4112, allocations: 15.94 kB / 0.7383 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.4113, allocations: 3.984 kB / 0.7383 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01197/0.4232, allocations: 4.465 MB / 0.7427 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.4232, allocations: 0 / 0.7427 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001819/0.425, allocations: 351.2 kB / 0.743 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002553/0.4276, allocations: 0.6976 MB / 0.7437 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/0.4277, allocations: 39.91 kB / 0.7437 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01656/0.4443, allocations: 14.41 MB / 0.7578 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.4443, allocations: 7.938 kB / 0.7578 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009229/0.4535, allocations: 3 MB / 0.7607 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007831/0.4543, allocations: 299.1 kB / 0.761 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002835/0.4546, allocations: 23.98 kB / 0.761 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002154/0.4567, allocations: 291.4 kB / 0.7613 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002437/0.457, allocations: 80.45 kB / 0.7614 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001199/0.4571, allocations: 43.95 kB / 0.7614 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009449/0.458, allocations: 0.6307 MB / 0.7621 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.458, allocations: 4 kB / 0.7621 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001564/0.4596, allocations: 431.9 kB / 0.7625 GB, free: 7.68 MB / 0.5919 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.0002646/0.4599, allocations: 125.4 kB / 0.7626 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009513/0.4694, allocations: 3.511 MB / 0.766 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.4694, allocations: 4 kB / 0.766 GB, free: 3.926 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00551/0.4749, allocations: 2.317 MB / 0.7683 GB, free: 1.508 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002251/0.4771, allocations: 486 kB / 0.7688 GB, free: 1.062 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008445/0.4856, allocations: 3.455 MB / 0.7721 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001069/0.4867, allocations: 0.8015 MB / 0.7729 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001353/0.488, allocations: 362.6 kB / 0.7733 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004/0.4884, allocations: 96.44 kB / 0.7733 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of SimCode: time 5.31e-07/0.4884, allocations: 0 / 0.7733 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of Templates: time 0.05053/0.5389, allocations: 30.77 MB / 0.8034 GB, free: 14.12 MB / 0.6387 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.624935366213322] Failed to read output from testmodel.py, exit status != 0: 0.5471590645611286 0.5615381549999999 0.284753226 Calling exit ...