Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.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.0008697/0.0008697, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000892/0.000892, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8713/0.8713, allocations: 177.2 MB / 202.8 MB, free: 5.734 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.001416/0.001416, allocations: 238 kB / 259.4 MB, free: 13.02 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.6766/0.6766, allocations: 138.4 MB / 454.3 MB, free: 30.04 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: "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.6463 GB, free: 1.859 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.547e-05/1.709e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.852 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.2491/0.2492, allocations: 13.08 MB / 0.6591 GB, free: 50.04 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.008798/0.258, allocations: 9.009 MB / 0.6679 GB, free: 44.4 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001164/0.2591, allocations: 81.56 kB / 0.6679 GB, free: 44.35 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.002186/0.2613, allocations: 1.662 MB / 0.6696 GB, free: 43.43 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0036/0.2649, allocations: 1.629 MB / 0.6712 GB, free: 42.45 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001426/0.2663, allocations: 0.7728 MB / 0.6719 GB, free: 42.04 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.002348/0.2687, allocations: 2.616 MB / 0.6745 GB, free: 40.77 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001217/0.2699, allocations: 1.176 MB / 0.6756 GB, free: 40.15 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001556/0.2715, allocations: 1.506 MB / 0.6771 GB, free: 39.54 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001091/0.2725, allocations: 0.9929 MB / 0.6781 GB, free: 39.25 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001917/0.2727, allocations: 168.1 kB / 0.6782 GB, free: 39.24 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001037/0.2738, allocations: 0.739 MB / 0.6789 GB, free: 39.04 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003909/0.2742, allocations: 0.6521 MB / 0.6796 GB, free: 38.7 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005469/0.2747, allocations: 0.6455 MB / 0.6802 GB, free: 38.42 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002703/0.2774, allocations: 2.808 MB / 0.6829 GB, free: 37.5 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2774, allocations: 0 / 0.6829 GB, free: 37.5 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.873e-06/0.2774, allocations: 0.6562 kB / 0.6829 GB, free: 37.5 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.591e-05/0.2775, allocations: 1.281 kB / 0.6829 GB, free: 37.5 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003115/0.2806, allocations: 2.099 MB / 0.685 GB, free: 36.22 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.2806, allocations: 11.67 kB / 0.685 GB, free: 36.22 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002091/0.2809, allocations: 195.5 kB / 0.6852 GB, free: 36.1 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006118/0.287, allocations: 2.099 MB / 0.6872 GB, free: 35.96 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002157/0.2891, allocations: 1.218 MB / 0.6884 GB, free: 35.28 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.082e-05/0.2892, allocations: 89.98 kB / 0.6885 GB, free: 35.24 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002317/0.2894, allocations: 118.3 kB / 0.6886 GB, free: 35.2 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003812/0.2932, allocations: 3.075 MB / 0.6916 GB, free: 33.64 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.286e-05/0.2933, allocations: 20.53 kB / 0.6917 GB, free: 33.62 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001261/0.2934, allocations: 51.11 kB / 0.6917 GB, free: 33.59 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003676/0.2938, allocations: 180.2 kB / 0.6919 GB, free: 33.57 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004129/0.2979, allocations: 2.793 MB / 0.6946 GB, free: 32.18 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007893/0.3058, allocations: 8.331 MB / 0.7027 GB, free: 25.98 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00334/0.3091, allocations: 2.228 MB / 0.7049 GB, free: 24.86 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001592/0.3107, allocations: 1.218 MB / 0.7061 GB, free: 24.23 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 5.28e-05/0.3108, allocations: 10.06 kB / 0.7061 GB, free: 24.23 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.3108, allocations: 43.69 kB / 0.7062 GB, free: 24.18 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=89): time 2.515e-06/0.3108, allocations: 0 / 0.7062 GB, free: 24.18 MB / 0.5573 GB Notification: Performance of matching and sorting (n=131): time 0.02259/0.3334, allocations: 12.66 MB / 0.7185 GB, free: 16.89 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.3334, allocations: 64.72 kB / 0.7186 GB, free: 16.82 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009104/0.3343, allocations: 1.133 MB / 0.7197 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.748e-05/0.3344, allocations: 45.7 kB / 0.7197 GB, free: 15.62 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002182/0.3346, allocations: 0.7248 MB / 0.7204 GB, free: 14.89 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002203/0.3349, allocations: 471.9 kB / 0.7209 GB, free: 14.42 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002787/0.3351, allocations: 263.5 kB / 0.7211 GB, free: 14.16 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.702e-05/0.3352, allocations: 361.9 kB / 0.7215 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001533/0.3367, allocations: 1.339 MB / 0.7228 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001592/0.3383, allocations: 1.6 MB / 0.7244 GB, free: 10.77 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003213/0.3415, allocations: 2.994 MB / 0.7273 GB, free: 7.676 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.3415, allocations: 4 kB / 0.7273 GB, free: 7.672 MB / 0.5573 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.005546/0.3471, allocations: 4.397 MB / 0.7316 GB, free: 3.223 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.3471, allocations: 12.12 kB / 0.7316 GB, free: 3.211 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.3471, allocations: 7.938 kB / 0.7316 GB, free: 3.203 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002486/0.3496, allocations: 1.43 MB / 0.733 GB, free: 1.734 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009321/0.3505, allocations: 435.2 kB / 0.7334 GB, free: 1.309 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01668/0.3672, allocations: 25.08 MB / 0.7579 GB, free: 6.781 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001706/0.3689, allocations: 307.6 kB / 0.7582 GB, free: 6.48 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/0.369, allocations: 63.97 kB / 0.7583 GB, free: 6.418 MB / 0.5886 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007385/0.3698, allocations: 438 kB / 0.7587 GB, free: 5.98 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002013/0.37, allocations: 167 kB / 0.7588 GB, free: 5.816 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00647/0.3764, allocations: 4.408 MB / 0.7631 GB, free: 1.352 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.669e-06/0.3764, allocations: 21.39 kB / 0.7632 GB, free: 1.332 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.396e-05/0.3765, allocations: 12 kB / 0.7632 GB, free: 1.32 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.517e-06/0.3765, allocations: 7.969 kB / 0.7632 GB, free: 1.312 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008807/0.3853, allocations: 6.3 MB / 0.7693 GB, free: 10.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.3853, allocations: 7.938 kB / 0.7693 GB, free: 10.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000855/0.3861, allocations: 383.3 kB / 0.7697 GB, free: 10.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002419/0.3886, allocations: 1.301 MB / 0.771 GB, free: 9.156 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.549e-05/0.3886, allocations: 39.97 kB / 0.771 GB, free: 9.117 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0159/0.4045, allocations: 23.94 MB / 0.7944 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.4045, allocations: 4 kB / 0.7944 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006299/0.4108, allocations: 4.168 MB / 0.7985 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007443/0.4116, allocations: 386.7 kB / 0.7988 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001511/0.4117, allocations: 28 kB / 0.7989 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/0.4128, allocations: 307.5 kB / 0.7992 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003505/0.4131, allocations: 132.6 kB / 0.7993 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-05/0.4132, allocations: 47.95 kB / 0.7993 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0007286/0.4139, allocations: 0.7603 MB / 0.8001 GB, free: 9.781 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4139, allocations: 0 / 0.8001 GB, free: 9.781 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001704/0.4156, allocations: 0.5664 MB / 0.8006 GB, free: 9.215 MB / 0.6355 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006222/0.4219, allocations: 4.744 MB / 0.8053 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.006423/0.4283, allocations: 4.962 MB / 0.8101 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.4283, allocations: 0 / 0.8101 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.003608/0.4319, allocations: 3.413 MB / 0.8134 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00171/0.4336, allocations: 0.5543 MB / 0.814 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02502/0.4586, allocations: 19.37 MB / 0.8329 GB, free: 7.312 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008133/0.4594, allocations: 0.895 MB / 0.8338 GB, free: 6.383 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001075/0.4605, allocations: 425.6 kB / 0.8342 GB, free: 5.961 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006318/0.4611, allocations: 0.6252 MB / 0.8348 GB, free: 5.332 MB / 0.6667 GB Notification: Performance of SimCode: time 1.794e-06/0.4611, allocations: 0 / 0.8348 GB, free: 5.332 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07732/0.5385, allocations: 56.51 MB / 0.89 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.012/8.551, allocations: 7.938 kB / 0.89 GB, free: 13.79 MB / 0.7292 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.193461855873466] Failed to read output from testmodel.py, exit status != 0: 8.659400498494506 8.667519582 8.388193397 Calling exit ...