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.001752/0.001752, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002297/0.002297, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.002501/0.002501, allocations: 289 kB / 313.5 MB, free: 2.613 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.226/1.226, allocations: 180.6 MB / 0.5377 GB, free: 14.56 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="cs",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="cs",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.002918/0.002918, allocations: 95.16 kB / 0.7403 GB, free: 28.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1757, allocations: 95.38 MB / 0.8334 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04189/0.2176, allocations: 33.63 MB / 0.8663 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01911/0.2367, allocations: 9.996 MB / 0.876 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003379/0.2401, allocations: 190.6 kB / 0.8762 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01092/0.251, allocations: 3.825 MB / 0.8799 GB, free: 8.523 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00665/0.2576, allocations: 2.134 MB / 0.882 GB, free: 6.379 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.006343/0.264, allocations: 1.968 MB / 0.8839 GB, free: 4.414 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01094/0.2749, allocations: 7.979 MB / 0.8917 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009926/0.2848, allocations: 5.28 MB / 0.8969 GB, free: 7.004 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005996/0.2908, allocations: 3.486 MB / 0.9003 GB, free: 3.508 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006736/0.2976, allocations: 3.937 MB / 0.9041 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001922/0.2995, allocations: 0.6836 MB / 0.9048 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003828/0.3033, allocations: 1.369 MB / 0.9061 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003731/0.307, allocations: 2.681 MB / 0.9088 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.004066/0.3111, allocations: 2.518 MB / 0.9112 GB, free: 8.289 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01265/0.3238, allocations: 10.47 MB / 0.9214 GB, free: 13.79 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.3238, allocations: 0 / 0.9214 GB, free: 13.79 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.854e-06/0.3238, allocations: 0 / 0.9214 GB, free: 13.79 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.000243/0.324, allocations: 3.938 kB / 0.9215 GB, free: 13.79 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.0121/0.3361, allocations: 5.451 MB / 0.9268 GB, free: 8.273 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.3362, allocations: 17.92 kB / 0.9268 GB, free: 8.258 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001429/0.3363, allocations: 133.8 kB / 0.9269 GB, free: 8.125 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001162/0.3375, allocations: 0.6945 MB / 0.9276 GB, free: 7.422 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004767/0.3422, allocations: 0.9929 MB / 0.9286 GB, free: 6.426 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006315/0.3485, allocations: 3.128 MB / 0.9316 GB, free: 3.23 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003014/0.3488, allocations: 361.9 kB / 0.932 GB, free: 2.875 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009272/0.3498, allocations: 472.3 kB / 0.9324 GB, free: 2.414 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01506/0.3648, allocations: 8.667 MB / 0.9409 GB, free: 9.199 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001102/0.3649, allocations: 19.81 kB / 0.9409 GB, free: 9.18 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005379/0.3655, allocations: 208 kB / 0.9411 GB, free: 8.977 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005651/0.3661, allocations: 369.1 kB / 0.9415 GB, free: 8.613 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01115/0.3772, allocations: 5.937 MB / 0.9472 GB, free: 2.66 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03499/0.4122, allocations: 23.74 MB / 0.9704 GB, free: 10.24 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003674/0.4159, allocations: 1.984 MB / 0.9724 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002115/0.418, allocations: 1.333 MB / 0.9737 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.868e-05/0.4181, allocations: 21.25 kB / 0.9737 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.841e-05/0.4181, allocations: 55.81 kB / 0.9737 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=157): time 3.848e-06/0.4181, allocations: 0 / 0.9737 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of matching and sorting (n=160): time 0.01562/0.4338, allocations: 6.667 MB / 0.9803 GB, free: 120 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.249e-05/0.4338, allocations: 72.7 kB / 0.9803 GB, free: 36 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3541/0.788, allocations: 1.856 MB / 0.9821 GB, free: 133.3 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003303/0.7883, allocations: 55.56 kB / 0.9822 GB, free: 133.3 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001411/0.7897, allocations: 2.192 MB / 0.9843 GB, free: 132.9 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007665/0.7905, allocations: 0.5838 MB / 0.9849 GB, free: 132.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007511/0.7912, allocations: 403.5 kB / 0.9853 GB, free: 132.3 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.937e-05/0.7913, allocations: 305.5 kB / 0.9856 GB, free: 132 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001745/0.793, allocations: 1.055 MB / 0.9866 GB, free: 131.6 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002229/0.7952, allocations: 1.77 MB / 0.9883 GB, free: 130.3 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00357/0.7988, allocations: 3.051 MB / 0.9913 GB, free: 128.4 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.664e-05/0.7988, allocations: 10.16 kB / 0.9913 GB, free: 128.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007959/0.8068, allocations: 3.909 MB / 0.9951 GB, free: 126.8 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.185e-05/0.8069, allocations: 14.72 kB / 0.9952 GB, free: 126.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-05/0.8069, allocations: 22.25 kB / 0.9952 GB, free: 126.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003493/0.8104, allocations: 0.9292 MB / 0.9961 GB, free: 126.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00202/0.8124, allocations: 428.5 kB / 0.9965 GB, free: 126.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01653/0.829, allocations: 21.39 MB / 1.017 GB, free: 108.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001958/0.8309, allocations: 128.8 kB / 1.018 GB, free: 108.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000247/0.8312, allocations: 90.75 kB / 1.018 GB, free: 108.6 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.002291/0.8335, allocations: 1.646 MB / 1.019 GB, free: 107.9 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004873/0.8339, allocations: 272.3 kB / 1.019 GB, free: 107.7 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004772/0.8387, allocations: 3.228 MB / 1.023 GB, free: 106.3 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-05/0.8387, allocations: 15.69 kB / 1.023 GB, free: 106.3 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-05/0.8388, allocations: 11.78 kB / 1.023 GB, free: 106.3 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.869e-05/0.8388, allocations: 7.359 kB / 1.023 GB, free: 106.3 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01137/0.8502, allocations: 7.167 MB / 1.03 GB, free: 101.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/0.8502, allocations: 4 kB / 1.03 GB, free: 101.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008813/0.8511, allocations: 219.6 kB / 1.03 GB, free: 101.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002138/0.8532, allocations: 0.8957 MB / 1.031 GB, free: 100.6 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001944/0.8534, allocations: 32 kB / 1.031 GB, free: 100.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01415/0.8675, allocations: 21.35 MB / 1.052 GB, free: 77.86 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.8675, allocations: 8 kB / 1.052 GB, free: 77.86 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004791/0.8723, allocations: 3.369 MB / 1.055 GB, free: 74.38 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001308/0.8736, allocations: 474.2 kB / 1.055 GB, free: 73.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000472/0.8741, allocations: 32 kB / 1.055 GB, free: 73.88 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/0.8753, allocations: 87.89 kB / 1.055 GB, free: 73.79 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000372/0.8757, allocations: 148.9 kB / 1.056 GB, free: 73.65 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/0.8758, allocations: 51.83 kB / 1.056 GB, free: 73.6 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001456/0.8772, allocations: 1.225 MB / 1.057 GB, free: 72.36 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8772, allocations: 0 / 1.057 GB, free: 72.36 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003131/0.8804, allocations: 0.9062 MB / 1.058 GB, free: 71.46 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.004789/0.8852, allocations: 3.962 MB / 1.062 GB, free: 67.38 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005854/0.891, allocations: 4.304 MB / 1.066 GB, free: 62.93 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.181e-05/0.891, allocations: 3.562 kB / 1.066 GB, free: 62.93 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003471/0.8945, allocations: 2.893 MB / 1.069 GB, free: 59.88 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003573/0.8981, allocations: 0.8328 MB / 1.069 GB, free: 59.08 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03423/0.9323, allocations: 25.24 MB / 1.094 GB, free: 32.76 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002802/0.9351, allocations: 2.665 MB / 1.097 GB, free: 30.06 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001573/0.9367, allocations: 0.5254 MB / 1.097 GB, free: 29.53 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001534/0.9382, allocations: 1.659 MB / 1.099 GB, free: 27.87 MB / 0.7169 GB Notification: Performance of SimCode: time 1.433e-06/0.9382, allocations: 0 / 1.099 GB, free: 27.87 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1945/1.133, allocations: 75.32 MB / 1.172 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.85/17.98, allocations: 3.859 kB / 1.172 GB, free: 1.859 MB / 0.7637 GB " [Timeout remaining time 642] (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: 22.792739505995996] Failed to read output from testmodel.py, exit status != 0: 18.19703434908297 18.223274528 17.894592076 Calling exit ...