Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.001288/0.001288, allocations: 80.59 kB / 19.18 MB, free: 2.531 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.001421/0.001421, allocations: 166.2 kB / 22.46 MB, free: 5.355 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.423/1.423, allocations: 177.1 MB / 202.8 MB, free: 9.191 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.002428/0.002428, allocations: 235 kB / 259.4 MB, free: 500 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.107/1.107, allocations: 138.4 MB / 454.3 MB, free: 1.988 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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.6468 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.955e-05/2.075e-05, allocations: 5.938 kB / 0.6468 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.2617/0.2618, allocations: 6.387 MB / 0.653 GB, free: 53.61 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0038/0.2656, allocations: 3.002 MB / 0.656 GB, free: 53 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002489/0.2658, allocations: 35.53 kB / 0.656 GB, free: 52.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002109/0.2679, allocations: 0.9564 MB / 0.6569 GB, free: 52.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0007506/0.2687, allocations: 0.5299 MB / 0.6574 GB, free: 52.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007097/0.2694, allocations: 437.1 kB / 0.6579 GB, free: 51.95 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008215/0.2702, allocations: 1.262 MB / 0.6591 GB, free: 51.35 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005733/0.2708, allocations: 0.5302 MB / 0.6596 GB, free: 51.1 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006317/0.2714, allocations: 0.6624 MB / 0.6603 GB, free: 50.84 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005085/0.2719, allocations: 471.5 kB / 0.6607 GB, free: 50.7 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.312e-05/0.272, allocations: 71.41 kB / 0.6608 GB, free: 50.7 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004556/0.2725, allocations: 358.8 kB / 0.6611 GB, free: 50.59 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002119/0.2727, allocations: 330 kB / 0.6614 GB, free: 50.44 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000277/0.273, allocations: 313 kB / 0.6617 GB, free: 50.32 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009211/0.2739, allocations: 1.246 MB / 0.663 GB, free: 49.91 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2739, allocations: 2.781 kB / 0.663 GB, free: 49.91 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2739, allocations: 0 / 0.663 GB, free: 49.91 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.658e-05/0.2739, allocations: 0 / 0.663 GB, free: 49.91 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001534/0.2754, allocations: 1.103 MB / 0.664 GB, free: 49.18 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.2755, allocations: 10.19 kB / 0.664 GB, free: 49.18 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001503/0.277, allocations: 242.2 kB / 0.6643 GB, free: 49.13 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007256/0.2777, allocations: 0.525 MB / 0.6648 GB, free: 48.81 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.702e-05/0.2777, allocations: 49.8 kB / 0.6648 GB, free: 48.79 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.106e-05/0.2778, allocations: 59.78 kB / 0.6649 GB, free: 48.77 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.279, allocations: 1.345 MB / 0.6662 GB, free: 47.83 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.465e-05/0.279, allocations: 4.141 kB / 0.6662 GB, free: 47.83 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.025e-05/0.2791, allocations: 37.95 kB / 0.6662 GB, free: 47.8 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000127/0.2792, allocations: 92.39 kB / 0.6663 GB, free: 47.79 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009341/0.2801, allocations: 0.7443 MB / 0.6671 GB, free: 47.52 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003438/0.2836, allocations: 4.495 MB / 0.6714 GB, free: 43.96 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008532/0.2844, allocations: 0.5122 MB / 0.6719 GB, free: 43.77 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003547/0.2848, allocations: 284 kB / 0.6722 GB, free: 43.67 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.996e-05/0.2848, allocations: 9.922 kB / 0.6722 GB, free: 43.67 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.2848, allocations: 38.3 kB / 0.6723 GB, free: 43.62 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=47): time 1.984e-06/0.2848, allocations: 0 / 0.6723 GB, free: 43.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.003375/0.2882, allocations: 1.692 MB / 0.6739 GB, free: 42.94 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.014e-05/0.2882, allocations: 57.64 kB / 0.674 GB, free: 42.88 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004408/0.2887, allocations: 0.5064 MB / 0.6745 GB, free: 42.63 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.529e-05/0.2887, allocations: 37.2 kB / 0.6745 GB, free: 42.59 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001654/0.2889, allocations: 432.4 kB / 0.6749 GB, free: 42.24 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.458e-05/0.289, allocations: 172.9 kB / 0.6751 GB, free: 42.11 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/0.2891, allocations: 128.3 kB / 0.6752 GB, free: 42.04 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.421e-05/0.2892, allocations: 366.1 kB / 0.6756 GB, free: 41.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003581/0.2896, allocations: 279 kB / 0.6758 GB, free: 41.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004244/0.29, allocations: 0.4885 MB / 0.6763 GB, free: 41.23 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008211/0.2908, allocations: 0.8078 MB / 0.6771 GB, free: 40.71 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.2908, allocations: 2.938 kB / 0.6771 GB, free: 40.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001579/0.2924, allocations: 1.07 MB / 0.6781 GB, free: 40.25 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.2924, allocations: 9.344 kB / 0.6781 GB, free: 40.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.2924, allocations: 8.469 kB / 0.6781 GB, free: 40.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008557/0.2933, allocations: 284.3 kB / 0.6784 GB, free: 40.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005104/0.2938, allocations: 129 kB / 0.6785 GB, free: 40.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005134/0.2989, allocations: 6.585 MB / 0.685 GB, free: 34.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005221/0.2994, allocations: 39.45 kB / 0.685 GB, free: 34.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.213e-05/0.2995, allocations: 32 kB / 0.685 GB, free: 34.57 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,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.0003072/0.2998, allocations: 254.8 kB / 0.6853 GB, free: 34.39 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.637e-05/0.2999, allocations: 68.45 kB / 0.6853 GB, free: 34.36 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001462/0.3014, allocations: 0.8786 MB / 0.6862 GB, free: 33.97 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.3014, allocations: 5.125 kB / 0.6862 GB, free: 33.97 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.3014, allocations: 3.469 kB / 0.6862 GB, free: 33.97 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.3014, allocations: 6.719 kB / 0.6862 GB, free: 33.96 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002263/0.3036, allocations: 1.521 MB / 0.6877 GB, free: 33.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.3036, allocations: 2.016 kB / 0.6877 GB, free: 33.21 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002774/0.3039, allocations: 64.19 kB / 0.6878 GB, free: 33.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007336/0.3047, allocations: 262.5 kB / 0.688 GB, free: 33.12 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.232e-05/0.3047, allocations: 12.59 kB / 0.688 GB, free: 33.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004931/0.3096, allocations: 6.594 MB / 0.6945 GB, free: 27.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3096, allocations: 2.469 kB / 0.6945 GB, free: 27.55 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/0.3111, allocations: 0.9693 MB / 0.6954 GB, free: 27.04 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002312/0.3113, allocations: 108.9 kB / 0.6955 GB, free: 26.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.167e-05/0.3114, allocations: 9.328 kB / 0.6955 GB, free: 26.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003846/0.3118, allocations: 34.58 kB / 0.6956 GB, free: 26.97 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.3119, allocations: 47.92 kB / 0.6956 GB, free: 26.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.551e-05/0.3119, allocations: 11.31 kB / 0.6956 GB, free: 26.96 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003572/0.3123, allocations: 343.9 kB / 0.696 GB, free: 26.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3123, allocations: 2.719 kB / 0.696 GB, free: 26.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007901/0.3131, allocations: 224.1 kB / 0.6962 GB, free: 26.77 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001258/0.3132, allocations: 112.2 kB / 0.6963 GB, free: 26.67 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001843/0.315, allocations: 1.232 MB / 0.6975 GB, free: 25.95 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.315, allocations: 0 / 0.6975 GB, free: 25.95 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00113/0.3162, allocations: 0.8606 MB / 0.6983 GB, free: 25.35 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009985/0.3172, allocations: 202.4 kB / 0.6985 GB, free: 25.29 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.3191, allocations: 1.335 MB / 0.6998 GB, free: 24.57 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004447/0.3195, allocations: 414.7 kB / 0.7002 GB, free: 24.45 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003319/0.3198, allocations: 111.5 kB / 0.7003 GB, free: 24.43 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.32, allocations: 40.12 kB / 0.7004 GB, free: 24.42 MB / 0.5606 GB Notification: Performance of SimCode: time 3.51e-07/0.32, allocations: 0 / 0.7004 GB, free: 24.42 MB / 0.5606 GB Notification: Performance of Templates: time 0.01868/0.3386, allocations: 11.29 MB / 0.7114 GB, free: 21.37 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.02071400731802] Failed to read output from testmodel.py, exit status != 0: 0.3465564362704754 0.35755552700000004 0.08117749 Calling exit ...