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.00128/0.00128, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001467/0.001467, allocations: 209.5 kB / 23.04 MB, free: 5.07 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.493/1.493, allocations: 230.6 MB / 256.8 MB, free: 7.949 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.00257/0.00257, allocations: 293.8 kB / 313.5 MB, free: 2.758 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.257/1.257, allocations: 180.6 MB / 0.5377 GB, free: 12.98 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.002819/0.002819, allocations: 99.86 kB / 0.7404 GB, free: 28.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1871, allocations: 95.38 MB / 0.8335 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04563/0.2327, allocations: 36.82 MB / 0.8695 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01908/0.2518, allocations: 10.34 MB / 0.8796 GB, free: 9.281 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003392/0.2552, allocations: 190.6 kB / 0.8798 GB, free: 9.094 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01085/0.2661, allocations: 3.978 MB / 0.8836 GB, free: 5.105 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007341/0.2734, allocations: 2.142 MB / 0.8857 GB, free: 2.953 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00581/0.2792, allocations: 2.033 MB / 0.8877 GB, free: 0.9219 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01173/0.2909, allocations: 7.968 MB / 0.8955 GB, free: 8.93 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01175/0.3027, allocations: 5.291 MB / 0.9007 GB, free: 3.512 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008512/0.3112, allocations: 3.466 MB / 0.904 GB, free: 36 kB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008442/0.3197, allocations: 3.933 MB / 0.9079 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002805/0.3225, allocations: 0.6797 MB / 0.9086 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004515/0.327, allocations: 1.475 MB / 0.91 GB, free: 9.934 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.004804/0.3318, allocations: 2.681 MB / 0.9126 GB, free: 7.246 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00677/0.3386, allocations: 3.104 MB / 0.9156 GB, free: 4.129 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0153/0.3539, allocations: 10.41 MB / 0.9258 GB, free: 9.688 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.3539, allocations: 7.938 kB / 0.9258 GB, free: 9.68 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3539, allocations: 0 / 0.9258 GB, free: 9.68 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0004096/0.3543, allocations: 0 / 0.9258 GB, free: 9.68 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.01526/0.3695, allocations: 5.463 MB / 0.9311 GB, free: 4.156 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.3696, allocations: 13.34 kB / 0.9312 GB, free: 4.145 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001462/0.3697, allocations: 125.8 kB / 0.9313 GB, free: 4.02 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002086/0.3718, allocations: 0.6984 MB / 0.932 GB, free: 3.312 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005835/0.3776, allocations: 0.989 MB / 0.9329 GB, free: 2.32 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008207/0.3859, allocations: 3.128 MB / 0.936 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004248/0.3863, allocations: 365.9 kB / 0.9363 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001735/0.388, allocations: 468.3 kB / 0.9368 GB, free: 14.31 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01936/0.4074, allocations: 7.907 MB / 0.9445 GB, free: 6.039 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001981/0.4076, allocations: 15.88 kB / 0.9445 GB, free: 6.023 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001193/0.4088, allocations: 215.9 kB / 0.9447 GB, free: 5.812 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005909/0.4094, allocations: 365.1 kB / 0.9451 GB, free: 5.453 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0135/0.4229, allocations: 5.933 MB / 0.9509 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04704/0.4699, allocations: 35.69 MB / 0.9857 GB, free: 8.574 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003993/0.4739, allocations: 2.002 MB / 0.9877 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002263/0.4762, allocations: 1.34 MB / 0.989 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001289/0.4763, allocations: 17.25 kB / 0.989 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.841e-05/0.4763, allocations: 51.88 kB / 0.989 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=157): time 4.168e-06/0.4763, allocations: 3.938 kB / 0.989 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of matching and sorting (n=160): time 0.378/0.8543, allocations: 6.66 MB / 0.9956 GB, free: 146.6 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.8544, allocations: 69.28 kB / 0.9956 GB, free: 146.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002617/0.857, allocations: 1.867 MB / 0.9974 GB, free: 146.2 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002521/0.8572, allocations: 57.67 kB / 0.9975 GB, free: 146.2 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.00115/0.8584, allocations: 2.182 MB / 0.9996 GB, free: 145.4 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005734/0.859, allocations: 0.5868 MB / 1 GB, free: 145.1 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006433/0.8596, allocations: 403 kB / 1.001 GB, free: 144.9 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 3.93e-05/0.8597, allocations: 302.5 kB / 1.001 GB, free: 144.6 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001503/0.8612, allocations: 1.059 MB / 1.002 GB, free: 144.2 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001665/0.8628, allocations: 1.774 MB / 1.004 GB, free: 142.9 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003246/0.8661, allocations: 3.047 MB / 1.007 GB, free: 140.9 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.461e-05/0.8661, allocations: 6.938 kB / 1.007 GB, free: 140.9 MB / 0.7325 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007291/0.8734, allocations: 3.901 MB / 1.01 GB, free: 139.3 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.3e-05/0.8734, allocations: 20.23 kB / 1.01 GB, free: 139.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.533e-05/0.8734, allocations: 22.31 kB / 1.01 GB, free: 139.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00264/0.8761, allocations: 0.9279 MB / 1.011 GB, free: 139 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/0.8777, allocations: 431.4 kB / 1.012 GB, free: 138.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01543/0.8931, allocations: 21.54 MB / 1.033 GB, free: 121 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002008/0.8951, allocations: 130.3 kB / 1.033 GB, free: 121 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001675/0.8953, allocations: 98.59 kB / 1.033 GB, free: 121 MB / 0.7325 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.002017/0.8973, allocations: 1.643 MB / 1.035 GB, free: 120.2 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004217/0.8977, allocations: 268.4 kB / 1.035 GB, free: 120.1 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004439/0.9022, allocations: 3.227 MB / 1.038 GB, free: 118.7 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.9022, allocations: 15.72 kB / 1.038 GB, free: 118.7 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-05/0.9022, allocations: 15.78 kB / 1.038 GB, free: 118.7 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/0.9022, allocations: 7.969 kB / 1.038 GB, free: 118.6 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009694/0.9119, allocations: 7.509 MB / 1.045 GB, free: 114.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.9119, allocations: 3.906 kB / 1.045 GB, free: 114.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008543/0.9127, allocations: 214.8 kB / 1.046 GB, free: 114.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002026/0.9148, allocations: 0.9085 MB / 1.047 GB, free: 113.6 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001257/0.9149, allocations: 32.78 kB / 1.047 GB, free: 113.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01429/0.9292, allocations: 21.51 MB / 1.068 GB, free: 91.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.309e-06/0.9292, allocations: 4 kB / 1.068 GB, free: 91.72 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004592/0.9338, allocations: 3.369 MB / 1.071 GB, free: 88.24 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001185/0.935, allocations: 474.7 kB / 1.071 GB, free: 87.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004128/0.9354, allocations: 34.11 kB / 1.071 GB, free: 87.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/0.9365, allocations: 95.64 kB / 1.071 GB, free: 87.65 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003351/0.9368, allocations: 149.5 kB / 1.072 GB, free: 87.51 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.813e-05/0.9369, allocations: 44 kB / 1.072 GB, free: 87.46 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001391/0.9383, allocations: 1.229 MB / 1.073 GB, free: 86.22 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9383, allocations: 0 / 1.073 GB, free: 86.22 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00277/0.9411, allocations: 0.9101 MB / 1.074 GB, free: 85.31 MB / 0.7325 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.004504/0.9456, allocations: 3.962 MB / 1.078 GB, free: 81.23 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0053/0.9509, allocations: 4.303 MB / 1.082 GB, free: 76.79 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.457e-05/0.9509, allocations: 4 kB / 1.082 GB, free: 76.79 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003336/0.9543, allocations: 2.895 MB / 1.085 GB, free: 73.73 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003545/0.9578, allocations: 0.8371 MB / 1.085 GB, free: 72.93 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03231/0.9901, allocations: 25.26 MB / 1.11 GB, free: 46.6 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002726/0.9928, allocations: 3.205 MB / 1.113 GB, free: 43.36 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001633/0.9945, allocations: 0.5293 MB / 1.114 GB, free: 42.83 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001551/0.996, allocations: 1.655 MB / 1.115 GB, free: 41.17 MB / 0.7325 GB Notification: Performance of SimCode: time 1.062e-06/0.996, allocations: 0 / 1.115 GB, free: 41.17 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1439/1.14, allocations: 72.66 MB / 1.186 GB, free: 1.43 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.66/17.8, allocations: 11.12 kB / 1.186 GB, free: 1.426 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.693818843050394] Failed to read output from testmodel.py, exit status != 0: 18.01486847997876 18.047542334 17.686927607 Calling exit ...