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.0007654/0.0007654, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008021/0.0008021, allocations: 178.2 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8645/0.8645, allocations: 177.2 MB / 203.5 MB, free: 5.75 MB / 186.7 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.001374/0.001374, allocations: 233.3 kB / 260.2 MB, free: 13.04 MB / 250.7 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 0.6555/0.6555, allocations: 138.4 MB / 455.1 MB, free: 30 MB / 410.7 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.593e-06/1.593e-06, allocations: 0 / 0.6475 GB, free: 1.371 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.003e-05/2.162e-05, allocations: 5.375 kB / 0.6475 GB, free: 1.367 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.2274/0.2274, allocations: 6.386 MB / 0.6538 GB, free: 54.17 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.003207/0.2306, allocations: 2.993 MB / 0.6567 GB, free: 52.29 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002646/0.2309, allocations: 36.38 kB / 0.6567 GB, free: 52.27 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001204/0.2321, allocations: 0.944 MB / 0.6576 GB, free: 51.74 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0006901/0.2328, allocations: 0.5406 MB / 0.6582 GB, free: 51.41 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006269/0.2334, allocations: 431.2 kB / 0.6586 GB, free: 51.2 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0008854/0.2343, allocations: 1.263 MB / 0.6598 GB, free: 50.61 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000647/0.2349, allocations: 0.5322 MB / 0.6603 GB, free: 50.36 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006956/0.2356, allocations: 0.6614 MB / 0.661 GB, free: 50.09 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005237/0.2362, allocations: 479.9 kB / 0.6614 GB, free: 49.96 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 8.055e-05/0.2362, allocations: 71.23 kB / 0.6615 GB, free: 49.95 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004567/0.2367, allocations: 343.7 kB / 0.6618 GB, free: 49.86 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002325/0.2369, allocations: 327.6 kB / 0.6621 GB, free: 49.71 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002269/0.2372, allocations: 315.8 kB / 0.6624 GB, free: 49.58 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.2382, allocations: 1.25 MB / 0.6637 GB, free: 49.16 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2382, allocations: 1.25 kB / 0.6637 GB, free: 49.16 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2382, allocations: 1.938 kB / 0.6637 GB, free: 49.16 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.327e-05/0.2382, allocations: 0 / 0.6637 GB, free: 49.16 MB / 0.5573 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.001276/0.2395, allocations: 1.096 MB / 0.6647 GB, free: 48.46 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.2395, allocations: 11.31 kB / 0.6647 GB, free: 48.46 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008489/0.2404, allocations: 243.4 kB / 0.665 GB, free: 48.4 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005996/0.241, allocations: 0.5235 MB / 0.6655 GB, free: 48.09 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/0.241, allocations: 55.36 kB / 0.6655 GB, free: 48.06 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.238e-05/0.2411, allocations: 62.59 kB / 0.6656 GB, free: 48.04 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009039/0.242, allocations: 1.341 MB / 0.6669 GB, free: 47.11 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.242, allocations: 6.141 kB / 0.6669 GB, free: 47.11 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.462e-05/0.242, allocations: 35.05 kB / 0.667 GB, free: 47.08 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.501e-05/0.2421, allocations: 89.03 kB / 0.667 GB, free: 47.07 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006935/0.2428, allocations: 0.7519 MB / 0.6678 GB, free: 46.8 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002353/0.2452, allocations: 4.5 MB / 0.6722 GB, free: 43.24 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006087/0.2458, allocations: 0.5084 MB / 0.6727 GB, free: 43.05 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002553/0.2461, allocations: 284.3 kB / 0.6729 GB, free: 42.95 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.2461, allocations: 7.312 kB / 0.6729 GB, free: 42.95 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.476e-05/0.2461, allocations: 37.16 kB / 0.673 GB, free: 42.91 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=47): time 1.634e-06/0.2461, allocations: 0 / 0.673 GB, free: 42.91 MB / 0.5573 GB Notification: Performance of matching and sorting (n=48): time 0.002004/0.2481, allocations: 1.699 MB / 0.6746 GB, free: 42.21 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.184e-05/0.2481, allocations: 59.97 kB / 0.6747 GB, free: 42.15 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003348/0.2485, allocations: 0.5056 MB / 0.6752 GB, free: 41.9 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.2485, allocations: 33.42 kB / 0.6752 GB, free: 41.87 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.2486, allocations: 429.9 kB / 0.6756 GB, free: 41.52 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 6.934e-05/0.2487, allocations: 177.5 kB / 0.6758 GB, free: 41.38 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.2488, allocations: 126.6 kB / 0.6759 GB, free: 41.31 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.675e-05/0.2489, allocations: 367.8 kB / 0.6763 GB, free: 40.98 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002484/0.2491, allocations: 274 kB / 0.6765 GB, free: 40.88 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002952/0.2494, allocations: 496.6 kB / 0.677 GB, free: 40.52 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005629/0.25, allocations: 0.8176 MB / 0.6778 GB, free: 39.98 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.25, allocations: 3.656 kB / 0.6778 GB, free: 39.98 MB / 0.5573 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00101/0.251, allocations: 1.074 MB / 0.6789 GB, free: 39.52 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.251, allocations: 6.406 kB / 0.6789 GB, free: 39.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.251, allocations: 6.25 kB / 0.6789 GB, free: 39.52 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004652/0.2515, allocations: 281.5 kB / 0.6791 GB, free: 39.43 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002432/0.2517, allocations: 131.2 kB / 0.6793 GB, free: 39.41 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003344/0.2551, allocations: 6.583 MB / 0.6857 GB, free: 33.87 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002393/0.2553, allocations: 43.05 kB / 0.6857 GB, free: 33.86 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-05/0.2553, allocations: 31.53 kB / 0.6858 GB, free: 33.85 MB / 0.5573 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.0001973/0.2555, allocations: 252.1 kB / 0.686 GB, free: 33.67 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.347e-05/0.2556, allocations: 69.83 kB / 0.6861 GB, free: 33.63 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001007/0.2566, allocations: 0.8779 MB / 0.6869 GB, free: 33.25 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.2566, allocations: 4.719 kB / 0.6869 GB, free: 33.25 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.2566, allocations: 3.938 kB / 0.6869 GB, free: 33.25 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.2566, allocations: 2.391 kB / 0.6869 GB, free: 33.25 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001635/0.2582, allocations: 1.524 MB / 0.6884 GB, free: 32.49 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.2582, allocations: 3.688 kB / 0.6884 GB, free: 32.49 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.2584, allocations: 64.47 kB / 0.6885 GB, free: 32.48 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004303/0.2588, allocations: 262.1 kB / 0.6887 GB, free: 32.4 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.354e-05/0.2588, allocations: 13.02 kB / 0.6888 GB, free: 32.39 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003148/0.262, allocations: 6.591 MB / 0.6952 GB, free: 26.83 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.262, allocations: 1.281 kB / 0.6952 GB, free: 26.83 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009943/0.263, allocations: 0.9701 MB / 0.6961 GB, free: 26.32 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001537/0.2631, allocations: 109.7 kB / 0.6962 GB, free: 26.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.946e-05/0.2632, allocations: 16.05 kB / 0.6963 GB, free: 26.26 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.2633, allocations: 25.61 kB / 0.6963 GB, free: 26.26 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.467e-05/0.2634, allocations: 48.81 kB / 0.6963 GB, free: 26.25 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/0.2634, allocations: 19.03 kB / 0.6963 GB, free: 26.24 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002544/0.2637, allocations: 340 kB / 0.6967 GB, free: 26.08 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.2637, allocations: 0 / 0.6967 GB, free: 26.08 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005416/0.2642, allocations: 220.2 kB / 0.6969 GB, free: 26.06 MB / 0.5573 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.000113/0.2644, allocations: 110.7 kB / 0.697 GB, free: 25.96 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001136/0.2655, allocations: 1.244 MB / 0.6982 GB, free: 25.22 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2655, allocations: 1.156 kB / 0.6982 GB, free: 25.22 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0006356/0.2661, allocations: 0.8564 MB / 0.699 GB, free: 24.63 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006135/0.2667, allocations: 213.3 kB / 0.6992 GB, free: 24.57 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.2683, allocations: 1.399 MB / 0.7006 GB, free: 23.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/0.2686, allocations: 415.1 kB / 0.701 GB, free: 23.68 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.2687, allocations: 43.64 kB / 0.701 GB, free: 23.67 MB / 0.5573 GB Notification: Performance of SimCode: time 8.92e-07/0.2687, allocations: 0 / 0.701 GB, free: 23.67 MB / 0.5573 GB Notification: Performance of Templates: time 0.01473/0.2835, allocations: 20.69 MB / 0.7213 GB, free: 14.02 MB / 0.5573 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.934998497366905] Failed to read output from testmodel.py, exit status != 0: 0.28866305667907 0.29427347600000003 0.054680889 Calling exit ...