Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.001367/0.001367, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001438/0.001438, allocations: 215.5 kB / 22.25 MB, free: 4.855 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.403/1.403, allocations: 230.6 MB / 256 MB, free: 7.785 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.002533/0.002533, allocations: 294 kB / 312.7 MB, free: 2.602 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.199/1.199, allocations: 180.6 MB / 0.5369 GB, free: 14.46 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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.002944/0.002944, allocations: 98.95 kB / 0.7395 GB, free: 28.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.1946, allocations: 95.39 MB / 0.8326 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.02063/0.2152, allocations: 13.93 MB / 0.8463 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01775/0.233, allocations: 9.965 MB / 0.856 GB, free: 376 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001794/0.2348, allocations: 75.31 kB / 0.8561 GB, free: 300 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004906/0.2397, allocations: 1.689 MB / 0.8577 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006851/0.2465, allocations: 1.848 MB / 0.8595 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00277/0.2493, allocations: 0.7601 MB / 0.8603 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004885/0.2542, allocations: 2.775 MB / 0.863 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002111/0.2563, allocations: 1.184 MB / 0.8641 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002628/0.2589, allocations: 1.629 MB / 0.8657 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001803/0.2607, allocations: 1.093 MB / 0.8668 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002451/0.261, allocations: 160 kB / 0.8669 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001456/0.2624, allocations: 0.7214 MB / 0.8676 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006292/0.2631, allocations: 0.6191 MB / 0.8682 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009104/0.264, allocations: 0.7776 MB / 0.869 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003321/0.2673, allocations: 2.794 MB / 0.8717 GB, free: 172 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2673, allocations: 0 / 0.8717 GB, free: 172 kB / 0.6075 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2673, allocations: 0 / 0.8717 GB, free: 172 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.545e-05/0.2673, allocations: 0 / 0.8717 GB, free: 172 kB / 0.6075 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.004177/0.2715, allocations: 2.144 MB / 0.8738 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.2716, allocations: 12.75 kB / 0.8738 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000247/0.2718, allocations: 194.4 kB / 0.874 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01202/0.2838, allocations: 2.121 MB / 0.8761 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003467/0.2873, allocations: 1.228 MB / 0.8773 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.146e-05/0.2874, allocations: 86.69 kB / 0.8774 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002789/0.2877, allocations: 123.9 kB / 0.8775 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006462/0.2941, allocations: 3.069 MB / 0.8805 GB, free: 6.844 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.494e-05/0.2942, allocations: 11.95 kB / 0.8805 GB, free: 6.832 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001649/0.2943, allocations: 59.86 kB / 0.8806 GB, free: 6.773 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006791/0.295, allocations: 198.1 kB / 0.8807 GB, free: 6.578 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007897/0.3029, allocations: 2.787 MB / 0.8835 GB, free: 3.781 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01566/0.3186, allocations: 8.346 MB / 0.8916 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006919/0.3255, allocations: 2.179 MB / 0.8937 GB, free: 9.074 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003316/0.3288, allocations: 1.21 MB / 0.8949 GB, free: 7.859 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.507e-05/0.3289, allocations: 9 kB / 0.8949 GB, free: 7.852 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.76e-05/0.3289, allocations: 43.56 kB / 0.895 GB, free: 7.801 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=89): time 3.257e-06/0.3289, allocations: 0 / 0.895 GB, free: 7.801 MB / 0.6387 GB Notification: Performance of matching and sorting (n=153): time 0.06543/0.3944, allocations: 16 MB / 0.9106 GB, free: 7.766 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.992e-05/0.3944, allocations: 68.72 kB / 0.9107 GB, free: 7.684 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001919/0.3964, allocations: 1.191 MB / 0.9118 GB, free: 6.48 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002108/0.3966, allocations: 45.7 kB / 0.9119 GB, free: 6.43 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006593/0.3972, allocations: 0.7607 MB / 0.9126 GB, free: 5.664 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006007/0.3978, allocations: 0.5344 MB / 0.9131 GB, free: 5.125 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005836/0.3984, allocations: 295.5 kB / 0.9134 GB, free: 4.832 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.3986, allocations: 309.1 kB / 0.9137 GB, free: 4.527 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003937/0.4025, allocations: 1.503 MB / 0.9152 GB, free: 3.023 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00409/0.4066, allocations: 1.788 MB / 0.9169 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007878/0.4145, allocations: 3.362 MB / 0.9202 GB, free: 13.68 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.4145, allocations: 11.88 kB / 0.9202 GB, free: 13.67 MB / 0.67 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01408/0.4286, allocations: 5.211 MB / 0.9253 GB, free: 8.418 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/0.4286, allocations: 8 kB / 0.9253 GB, free: 8.41 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.4286, allocations: 8 kB / 0.9253 GB, free: 8.402 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007005/0.4356, allocations: 1.876 MB / 0.9272 GB, free: 6.504 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002062/0.4377, allocations: 419.2 kB / 0.9276 GB, free: 6.094 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03242/0.4701, allocations: 23.06 MB / 0.9501 GB, free: 14.13 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002891/0.473, allocations: 307.5 kB / 0.9504 GB, free: 13.83 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002507/0.4732, allocations: 67.91 kB / 0.9504 GB, free: 13.77 MB / 0.7012 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,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009447/0.4742, allocations: 473.4 kB / 0.9509 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003875/0.4746, allocations: 186.8 kB / 0.9511 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01446/0.489, allocations: 5.246 MB / 0.9562 GB, free: 7.816 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.299e-05/0.489, allocations: 20 kB / 0.9562 GB, free: 7.797 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.05e-05/0.4891, allocations: 16 kB / 0.9562 GB, free: 7.781 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.956e-05/0.4891, allocations: 11.97 kB / 0.9562 GB, free: 7.77 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01816/0.5073, allocations: 6.973 MB / 0.963 GB, free: 0.6836 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-05/0.5073, allocations: 4 kB / 0.963 GB, free: 0.6797 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001787/0.5091, allocations: 355.7 kB / 0.9634 GB, free: 340 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006371/0.5154, allocations: 1.696 MB / 0.965 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000228/0.5157, allocations: 55.94 kB / 0.9651 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4339/0.9495, allocations: 22.21 MB / 0.9868 GB, free: 130.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.9495, allocations: 2.406 kB / 0.9868 GB, free: 130.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01241/0.9619, allocations: 4.829 MB / 0.9915 GB, free: 129.9 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001514/0.9635, allocations: 428 kB / 0.9919 GB, free: 129.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003062/0.9638, allocations: 30 kB / 0.9919 GB, free: 129.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002316/0.9661, allocations: 319.6 kB / 0.9922 GB, free: 129.8 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006509/0.9667, allocations: 158.6 kB / 0.9924 GB, free: 129.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001676/0.9669, allocations: 55.12 kB / 0.9924 GB, free: 129.7 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001307/0.9682, allocations: 0.7897 MB / 0.9932 GB, free: 129.4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.9682, allocations: 0 / 0.9932 GB, free: 129.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00304/0.9713, allocations: 0.6556 MB / 0.9939 GB, free: 129.4 MB / 0.7169 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,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01323/0.9845, allocations: 5.427 MB / 0.9992 GB, free: 127.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01064/0.9951, allocations: 4.911 MB / 1.004 GB, free: 125.1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.315e-06/0.9951, allocations: 4.469 kB / 1.004 GB, free: 125.1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.006142/1.001, allocations: 3.273 MB / 1.007 GB, free: 123.5 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002216/1.003, allocations: 0.5681 MB / 1.008 GB, free: 123.3 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04014/1.044, allocations: 21.77 MB / 1.029 GB, free: 106 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000898/1.045, allocations: 0.9843 MB / 1.03 GB, free: 105 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001312/1.046, allocations: 382.8 kB / 1.03 GB, free: 104.6 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007041/1.047, allocations: 0.6554 MB / 1.031 GB, free: 104 MB / 0.7169 GB Notification: Performance of SimCode: time 1.052e-06/1.047, allocations: 0 / 1.031 GB, free: 104 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.107/1.154, allocations: 63.89 MB / 1.093 GB, free: 41.01 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.69/14.84, allocations: 3.375 kB / 1.093 GB, free: 41.01 MB / 0.7169 GB " [Timeout remaining time 645] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.09960651397705] Failed to read output from testmodel.py, exit status != 0: 14.994019171223044 15.010557815 14.740737698 Calling exit ...