Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.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.001378/0.001378, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002452/0.002452, allocations: 213.2 kB / 22.25 MB, free: 5.258 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.518/1.518, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.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.002605/0.002605, allocations: 286.4 kB / 312.7 MB, free: 2.605 MB / 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.241/1.241, allocations: 180.6 MB / 0.5369 GB, free: 14.59 MB / 382.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: "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00309/0.00309, allocations: 108.6 kB / 0.7395 GB, free: 28.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1788, allocations: 95.4 MB / 0.8327 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.05024/0.229, allocations: 33.67 MB / 0.8656 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02561/0.2547, allocations: 10.02 MB / 0.8753 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004605/0.2593, allocations: 190.6 kB / 0.8755 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01472/0.274, allocations: 3.811 MB / 0.8792 GB, free: 8.461 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008764/0.2827, allocations: 2.149 MB / 0.8813 GB, free: 6.301 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.006616/0.2894, allocations: 1.978 MB / 0.8833 GB, free: 4.324 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01146/0.3008, allocations: 7.964 MB / 0.891 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.011/0.3118, allocations: 5.24 MB / 0.8962 GB, free: 6.973 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006693/0.3185, allocations: 3.486 MB / 0.8996 GB, free: 3.477 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007536/0.326, allocations: 3.695 MB / 0.9032 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.003007/0.3291, allocations: 0.6836 MB / 0.9038 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005166/0.3342, allocations: 1.358 MB / 0.9052 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.004976/0.3392, allocations: 2.681 MB / 0.9078 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.006973/0.3462, allocations: 2.518 MB / 0.9102 GB, free: 8.512 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01545/0.3616, allocations: 10.47 MB / 0.9205 GB, free: 14.01 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3616, allocations: 0 / 0.9205 GB, free: 14.01 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.355e-06/0.3616, allocations: 0 / 0.9205 GB, free: 14.01 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0003572/0.362, allocations: 0 / 0.9205 GB, free: 14.01 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01557/0.3775, allocations: 5.463 MB / 0.9258 GB, free: 8.488 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.3776, allocations: 9.938 kB / 0.9258 GB, free: 8.48 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002304/0.3799, allocations: 0.7023 MB / 0.9265 GB, free: 7.77 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005446/0.3853, allocations: 0.9851 MB / 0.9275 GB, free: 6.781 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008398/0.3937, allocations: 3.132 MB / 0.9305 GB, free: 3.582 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003621/0.3941, allocations: 357.9 kB / 0.9309 GB, free: 3.23 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001349/0.3955, allocations: 468.3 kB / 0.9313 GB, free: 2.773 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01854/0.414, allocations: 8.667 MB / 0.9398 GB, free: 9.559 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001317/0.4141, allocations: 19.86 kB / 0.9398 GB, free: 9.539 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006874/0.4148, allocations: 212 kB / 0.94 GB, free: 9.332 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005797/0.4154, allocations: 365.1 kB / 0.9403 GB, free: 8.973 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01415/0.4295, allocations: 5.937 MB / 0.9461 GB, free: 3.02 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03876/0.4683, allocations: 23.73 MB / 0.9693 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00386/0.4722, allocations: 1.996 MB / 0.9713 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002223/0.4744, allocations: 1.333 MB / 0.9726 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.134e-05/0.4745, allocations: 17.31 kB / 0.9726 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.946e-05/0.4746, allocations: 59.8 kB / 0.9726 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=157): time 3.837e-06/0.4746, allocations: 0 / 0.9726 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of matching and sorting (n=160): time 0.0151/0.4897, allocations: 6.667 MB / 0.9792 GB, free: 480 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.198e-05/0.4897, allocations: 72.72 kB / 0.9792 GB, free: 396 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3858/0.8756, allocations: 1.901 MB / 0.9811 GB, free: 133.1 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003016/0.8759, allocations: 56.17 kB / 0.9811 GB, free: 133.1 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001332/0.8772, allocations: 2.19 MB / 0.9833 GB, free: 132.8 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005543/0.8778, allocations: 0.5814 MB / 0.9838 GB, free: 132.4 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006143/0.8784, allocations: 406 kB / 0.9842 GB, free: 132.2 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.49e-05/0.8784, allocations: 305.5 kB / 0.9845 GB, free: 131.9 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001607/0.88, allocations: 1.059 MB / 0.9855 GB, free: 131.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001963/0.882, allocations: 1.764 MB / 0.9873 GB, free: 130.2 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003235/0.8852, allocations: 3.052 MB / 0.9903 GB, free: 128.4 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.491e-05/0.8852, allocations: 6.656 kB / 0.9903 GB, free: 128.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007227/0.8925, allocations: 3.906 MB / 0.9941 GB, free: 126.7 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.651e-05/0.8925, allocations: 14.34 kB / 0.9941 GB, free: 126.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.464e-05/0.8926, allocations: 26.31 kB / 0.9941 GB, free: 126.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003101/0.8957, allocations: 0.9272 MB / 0.995 GB, free: 126.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001933/0.8976, allocations: 424.4 kB / 0.9954 GB, free: 126.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01738/0.915, allocations: 21.39 MB / 1.016 GB, free: 108.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00228/0.9173, allocations: 122.3 kB / 1.016 GB, free: 108.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000225/0.9175, allocations: 96.34 kB / 1.017 GB, free: 108.5 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.002274/0.9198, allocations: 1.643 MB / 1.018 GB, free: 107.8 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004423/0.9202, allocations: 271 kB / 1.018 GB, free: 107.6 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004725/0.9249, allocations: 3.245 MB / 1.022 GB, free: 106.2 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.9249, allocations: 15.62 kB / 1.022 GB, free: 106.2 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/0.925, allocations: 7.812 kB / 1.022 GB, free: 106.2 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.925, allocations: 7.312 kB / 1.022 GB, free: 106.2 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01012/0.9351, allocations: 7.167 MB / 1.029 GB, free: 102 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/0.9351, allocations: 8 kB / 1.029 GB, free: 101.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00085/0.9359, allocations: 207.7 kB / 1.029 GB, free: 101.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002052/0.938, allocations: 0.8997 MB / 1.03 GB, free: 100.8 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001056/0.9381, allocations: 32 kB / 1.03 GB, free: 100.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0145/0.9526, allocations: 21.35 MB / 1.051 GB, free: 78.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.9526, allocations: 4 kB / 1.051 GB, free: 78.09 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004657/0.9573, allocations: 3.365 MB / 1.054 GB, free: 74.61 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001458/0.9587, allocations: 478.2 kB / 1.054 GB, free: 74.14 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003214/0.959, allocations: 32 kB / 1.054 GB, free: 74.11 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001104/0.9601, allocations: 99.88 kB / 1.054 GB, free: 74.01 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003406/0.9605, allocations: 140.9 kB / 1.055 GB, free: 73.88 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.465e-05/0.9606, allocations: 47.98 kB / 1.055 GB, free: 73.83 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001368/0.9619, allocations: 1.224 MB / 1.056 GB, free: 72.59 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.9619, allocations: 0 / 1.056 GB, free: 72.59 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002599/0.9645, allocations: 0.9062 MB / 1.057 GB, free: 71.69 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,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.004735/0.9693, allocations: 3.971 MB / 1.061 GB, free: 67.6 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005942/0.9752, allocations: 4.295 MB / 1.065 GB, free: 63.16 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.109e-05/0.9752, allocations: 6.516 kB / 1.065 GB, free: 63.16 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00347/0.9787, allocations: 2.903 MB / 1.068 GB, free: 60.1 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003524/0.9822, allocations: 0.8232 MB / 1.068 GB, free: 59.3 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03085/1.013, allocations: 25.24 MB / 1.093 GB, free: 32.99 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002738/1.016, allocations: 2.661 MB / 1.096 GB, free: 30.3 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001616/1.017, allocations: 0.5331 MB / 1.096 GB, free: 29.76 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001536/1.019, allocations: 1.651 MB / 1.098 GB, free: 28.11 MB / 0.7169 GB Notification: Performance of SimCode: time 1.092e-06/1.019, allocations: 0.6562 kB / 1.098 GB, free: 28.11 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1751/1.194, allocations: 75.05 MB / 1.171 GB, free: 2.293 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.41/15.6, allocations: 8.359 kB / 1.171 GB, free: 2.285 MB / 0.7637 GB " [Timeout remaining time 644] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.13647969579324] Failed to read output from testmodel.py, exit status != 0: 15.758088815957308 15.775824884 15.410359629 Calling exit ...