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.001651/0.001651, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.002135/0.002135, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.477/1.477, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.002406/0.002406, allocations: 281.4 kB / 309.8 MB, free: 3.465 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.09/1.09, allocations: 180.6 MB / 0.5338 GB, free: 12.79 MB / 398.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.002878/0.002878, allocations: 91.86 kB / 0.7347 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4879/0.4908, allocations: 95.34 MB / 0.8278 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01798/0.5088, allocations: 14.99 MB / 0.8424 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01869/0.5275, allocations: 10.51 MB / 0.8527 GB, free: 1.547 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002067/0.5296, allocations: 77.72 kB / 0.8528 GB, free: 1.504 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004935/0.5345, allocations: 1.705 MB / 0.8544 GB, free: 0.4922 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007211/0.5417, allocations: 1.854 MB / 0.8562 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002698/0.5444, allocations: 0.7545 MB / 0.857 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005544/0.5499, allocations: 2.76 MB / 0.8597 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002231/0.5522, allocations: 1.128 MB / 0.8608 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003234/0.5554, allocations: 1.547 MB / 0.8623 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002311/0.5577, allocations: 1.237 MB / 0.8635 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000251/0.558, allocations: 161.5 kB / 0.8636 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001823/0.5598, allocations: 0.8025 MB / 0.8644 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006407/0.5604, allocations: 0.6217 MB / 0.865 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001168/0.5616, allocations: 0.9599 MB / 0.866 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004227/0.5658, allocations: 2.77 MB / 0.8687 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.5658, allocations: 0 / 0.8687 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5658, allocations: 1.281 kB / 0.8687 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.217e-05/0.5659, allocations: 3.984 kB / 0.8687 GB, free: 8.457 MB / 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.004273/0.5702, allocations: 2.23 MB / 0.8708 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.5702, allocations: 14.64 kB / 0.8709 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.074e-05/0.5702, allocations: 30.95 kB / 0.8709 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002531/0.5705, allocations: 191.8 kB / 0.8711 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01239/0.5829, allocations: 2.116 MB / 0.8731 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003299/0.5862, allocations: 1.314 MB / 0.8744 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.113e-05/0.5863, allocations: 93.44 kB / 0.8745 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002916/0.5866, allocations: 111.5 kB / 0.8746 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0071/0.5937, allocations: 2.677 MB / 0.8772 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.72e-05/0.5937, allocations: 11.52 kB / 0.8772 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002048/0.5939, allocations: 58.28 kB / 0.8773 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000735/0.5946, allocations: 190.8 kB / 0.8775 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008783/0.6034, allocations: 2.794 MB / 0.8802 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01932/0.6228, allocations: 10.47 MB / 0.8904 GB, free: 8.605 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007302/0.6301, allocations: 2.262 MB / 0.8926 GB, free: 6.707 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003497/0.6336, allocations: 1.198 MB / 0.8938 GB, free: 5.508 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 8.954e-05/0.6336, allocations: 12.98 kB / 0.8938 GB, free: 5.496 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.076e-05/0.6337, allocations: 51.56 kB / 0.8939 GB, free: 5.434 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=89): time 2.876e-06/0.6337, allocations: 3.938 kB / 0.8939 GB, free: 5.43 MB / 0.6231 GB Notification: Performance of matching and sorting (n=153): time 0.08535/0.719, allocations: 16.45 MB / 0.9099 GB, free: 4.824 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.857e-05/0.7191, allocations: 64.72 kB / 0.91 GB, free: 4.746 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00185/0.721, allocations: 1.188 MB / 0.9112 GB, free: 3.547 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002558/0.7212, allocations: 49.7 kB / 0.9112 GB, free: 3.492 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006579/0.7219, allocations: 0.7568 MB / 0.912 GB, free: 2.73 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006345/0.7225, allocations: 0.5383 MB / 0.9125 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006488/0.7232, allocations: 295.5 kB / 0.9128 GB, free: 1.895 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.7233, allocations: 301.1 kB / 0.913 GB, free: 1.598 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004047/0.7273, allocations: 1.507 MB / 0.9145 GB, free: 92 kB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00436/0.7317, allocations: 1.776 MB / 0.9163 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008409/0.7401, allocations: 3.373 MB / 0.9195 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.7401, allocations: 4 kB / 0.9195 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01482/0.7549, allocations: 5.211 MB / 0.9246 GB, free: 5.496 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.982e-05/0.755, allocations: 10.34 kB / 0.9246 GB, free: 5.488 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/0.755, allocations: 11.97 kB / 0.9247 GB, free: 5.477 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007332/0.7623, allocations: 1.882 MB / 0.9265 GB, free: 3.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002079/0.7644, allocations: 415.3 kB / 0.9269 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03296/0.7973, allocations: 24.16 MB / 0.9505 GB, free: 9.887 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00291/0.8003, allocations: 307.5 kB / 0.9508 GB, free: 9.586 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002001/0.8005, allocations: 67.97 kB / 0.9508 GB, free: 9.52 MB / 0.6856 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.000955/0.8014, allocations: 465.1 kB / 0.9513 GB, free: 9.059 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004417/0.8019, allocations: 182.9 kB / 0.9515 GB, free: 8.879 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01491/0.8168, allocations: 5.257 MB / 0.9566 GB, free: 3.574 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/0.8168, allocations: 16 kB / 0.9566 GB, free: 3.559 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.43e-05/0.8168, allocations: 16 kB / 0.9566 GB, free: 3.543 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.941e-05/0.8168, allocations: 7.969 kB / 0.9566 GB, free: 3.535 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01832/0.8352, allocations: 7.345 MB / 0.9638 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.969e-06/0.8352, allocations: 8.344 kB / 0.9638 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001755/0.8369, allocations: 351.4 kB / 0.9641 GB, free: 11.72 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006333/0.8433, allocations: 1.712 MB / 0.9658 GB, free: 9.988 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001746/0.8434, allocations: 51.91 kB / 0.9659 GB, free: 9.938 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03147/0.8749, allocations: 23.3 MB / 0.9886 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.044e-06/0.8749, allocations: 8.172 kB / 0.9886 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01341/0.8883, allocations: 4.841 MB / 0.9934 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001156/0.8895, allocations: 0.4919 MB / 0.9938 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003047/0.8898, allocations: 28 kB / 0.9939 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002203/0.892, allocations: 319.5 kB / 0.9942 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005253/0.8925, allocations: 149 kB / 0.9943 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001599/0.8927, allocations: 59.95 kB / 0.9944 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00119/0.8938, allocations: 0.786 MB / 0.9951 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.8938, allocations: 0 / 0.9951 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002321/0.8962, allocations: 0.6601 MB / 0.9958 GB, free: 10.09 MB / 0.7325 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.01342/0.9096, allocations: 5.412 MB / 1.001 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01223/0.9218, allocations: 4.921 MB / 1.006 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/0.9218, allocations: 12.06 kB / 1.006 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.007695/0.9295, allocations: 3.265 MB / 1.009 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002727/0.9323, allocations: 0.5634 MB / 1.01 GB, free: 11.63 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05254/0.9848, allocations: 21.76 MB / 1.031 GB, free: 5.371 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00153/0.9863, allocations: 1.572 MB / 1.032 GB, free: 3.766 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001489/0.9878, allocations: 386.4 kB / 1.033 GB, free: 3.383 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00104/0.9888, allocations: 0.6554 MB / 1.033 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of SimCode: time 8.31e-07/0.9889, allocations: 3.938 kB / 1.033 GB, free: 2.723 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1693/1.158, allocations: 59.21 MB / 1.091 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.47/21.63, allocations: 18.56 kB / 1.091 GB, free: 8.25 MB / 0.8262 GB " [Timeout remaining time 638] (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: 25.821548713953234] Failed to read output from testmodel.py, exit status != 0: 21.80646368098678 21.821046885 21.252089068 Calling exit ...