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.001572/0.001572, allocations: 113.3 kB / 18.94 MB, free: 2.934 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.00161/0.00161, allocations: 214.8 kB / 22.25 MB, free: 5.082 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.366/1.366, allocations: 230.6 MB / 256 MB, free: 8.008 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.002458/0.002458, allocations: 285 kB / 312.7 MB, free: 2.789 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.184/1.184, allocations: 180.6 MB / 0.5369 GB, free: 13.04 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.002755/0.002755, allocations: 104.7 kB / 0.7396 GB, free: 27.94 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1538, allocations: 95.39 MB / 0.8328 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04272/0.1965, allocations: 36.81 MB / 0.8687 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01731/0.2138, allocations: 10.34 MB / 0.8788 GB, free: 9.301 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00278/0.2166, allocations: 190.6 kB / 0.879 GB, free: 9.113 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01004/0.2266, allocations: 3.987 MB / 0.8829 GB, free: 5.117 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005965/0.2326, allocations: 2.142 MB / 0.885 GB, free: 2.965 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005074/0.2377, allocations: 2.032 MB / 0.8869 GB, free: 0.9336 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.009917/0.2476, allocations: 7.964 MB / 0.8947 GB, free: 8.945 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008719/0.2563, allocations: 5.295 MB / 0.8999 GB, free: 3.523 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005467/0.2618, allocations: 3.466 MB / 0.9033 GB, free: 48 kB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006659/0.2684, allocations: 3.937 MB / 0.9071 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002299/0.2707, allocations: 0.6836 MB / 0.9078 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004557/0.2753, allocations: 1.463 MB / 0.9092 GB, free: 9.949 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.004271/0.2796, allocations: 2.681 MB / 0.9118 GB, free: 7.262 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.005631/0.2852, allocations: 3.104 MB / 0.9149 GB, free: 4.145 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01335/0.2985, allocations: 10.41 MB / 0.925 GB, free: 9.699 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.2986, allocations: 0 / 0.925 GB, free: 9.699 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.754e-06/0.2986, allocations: 4 kB / 0.925 GB, free: 9.695 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.000239/0.2988, allocations: 0 / 0.925 GB, free: 9.695 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.01214/0.3109, allocations: 5.475 MB / 0.9304 GB, free: 4.16 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.311, allocations: 13.28 kB / 0.9304 GB, free: 4.148 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001434/0.3124, allocations: 0.6945 MB / 0.9311 GB, free: 3.445 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004898/0.3173, allocations: 0.989 MB / 0.932 GB, free: 2.453 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007437/0.3248, allocations: 3.124 MB / 0.9351 GB, free: 15.26 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003087/0.3251, allocations: 361.8 kB / 0.9354 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001439/0.3265, allocations: 472.3 kB / 0.9359 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01495/0.3415, allocations: 7.906 MB / 0.9436 GB, free: 6.176 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001066/0.3416, allocations: 23.81 kB / 0.9436 GB, free: 6.152 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004875/0.342, allocations: 208 kB / 0.9438 GB, free: 5.949 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005371/0.3426, allocations: 369.1 kB / 0.9442 GB, free: 5.586 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01045/0.353, allocations: 5.937 MB / 0.95 GB, free: 15.63 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03831/0.3914, allocations: 35.69 MB / 0.9848 GB, free: 8.703 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00316/0.3945, allocations: 1.994 MB / 0.9868 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001842/0.3964, allocations: 1.332 MB / 0.9881 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.817e-05/0.3965, allocations: 17.31 kB / 0.9881 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.484e-05/0.3965, allocations: 59.81 kB / 0.9882 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=157): time 3.136e-06/0.3965, allocations: 0 / 0.9882 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of matching and sorting (n=160): time 0.3199/0.7164, allocations: 6.658 MB / 0.9947 GB, free: 146.4 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.7165, allocations: 68.53 kB / 0.9947 GB, free: 146.3 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002413/0.7189, allocations: 1.87 MB / 0.9965 GB, free: 146.1 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002184/0.7191, allocations: 52.92 kB / 0.9966 GB, free: 146 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001112/0.7202, allocations: 2.184 MB / 0.9987 GB, free: 145.3 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000515/0.7207, allocations: 0.585 MB / 0.9993 GB, free: 144.9 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005879/0.7213, allocations: 407.9 kB / 0.9997 GB, free: 144.7 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 3.848e-05/0.7213, allocations: 301.6 kB / 1 GB, free: 144.4 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001549/0.7229, allocations: 1.06 MB / 1.001 GB, free: 144 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001638/0.7245, allocations: 1.764 MB / 1.003 GB, free: 142.8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003043/0.7276, allocations: 3.052 MB / 1.006 GB, free: 140.8 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.484e-05/0.7276, allocations: 6.906 kB / 1.006 GB, free: 140.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007131/0.7347, allocations: 3.908 MB / 1.01 GB, free: 139.2 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.372e-05/0.7348, allocations: 18.16 kB / 1.01 GB, free: 139.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.1e-05/0.7348, allocations: 24.06 kB / 1.01 GB, free: 139.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002561/0.7374, allocations: 0.9301 MB / 1.01 GB, free: 138.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/0.7388, allocations: 431.2 kB / 1.011 GB, free: 138.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01459/0.7534, allocations: 21.54 MB / 1.032 GB, free: 120.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001823/0.7552, allocations: 131.9 kB / 1.032 GB, free: 120.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001304/0.7554, allocations: 98.75 kB / 1.032 GB, free: 120.8 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.002069/0.7574, allocations: 1.648 MB / 1.034 GB, free: 120.1 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002993/0.7577, allocations: 264.2 kB / 1.034 GB, free: 120 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004097/0.7618, allocations: 3.23 MB / 1.037 GB, free: 118.6 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/0.7619, allocations: 15.56 kB / 1.037 GB, free: 118.6 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/0.7619, allocations: 15.88 kB / 1.037 GB, free: 118.6 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.7619, allocations: 7.969 kB / 1.037 GB, free: 118.6 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008999/0.7709, allocations: 7.507 MB / 1.045 GB, free: 114.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.7709, allocations: 3.938 kB / 1.045 GB, free: 114.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007789/0.7717, allocations: 216.8 kB / 1.045 GB, free: 114 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001806/0.7735, allocations: 0.9025 MB / 1.046 GB, free: 113.5 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.32e-05/0.7736, allocations: 31 kB / 1.046 GB, free: 113.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01277/0.7863, allocations: 21.51 MB / 1.067 GB, free: 91.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.7863, allocations: 11.94 kB / 1.067 GB, free: 91.86 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003928/0.7902, allocations: 3.365 MB / 1.07 GB, free: 88.39 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009544/0.7912, allocations: 474.7 kB / 1.07 GB, free: 87.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002552/0.7915, allocations: 37.89 kB / 1.07 GB, free: 87.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009247/0.7924, allocations: 95.89 kB / 1.071 GB, free: 87.79 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002546/0.7926, allocations: 144.9 kB / 1.071 GB, free: 87.65 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.218e-05/0.7927, allocations: 48 kB / 1.071 GB, free: 87.61 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001166/0.7939, allocations: 1.225 MB / 1.072 GB, free: 86.37 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.7939, allocations: 2.516 kB / 1.072 GB, free: 86.37 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002129/0.796, allocations: 0.9101 MB / 1.073 GB, free: 85.46 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.00383/0.7998, allocations: 3.962 MB / 1.077 GB, free: 81.38 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004878/0.8047, allocations: 4.3 MB / 1.081 GB, free: 76.93 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.8047, allocations: 0 / 1.081 GB, free: 76.93 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002953/0.8077, allocations: 2.899 MB / 1.084 GB, free: 73.88 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003204/0.8109, allocations: 0.8288 MB / 1.085 GB, free: 73.08 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02829/0.8392, allocations: 25.26 MB / 1.109 GB, free: 46.75 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002318/0.8415, allocations: 3.209 MB / 1.112 GB, free: 43.51 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001394/0.8429, allocations: 0.5293 MB / 1.113 GB, free: 42.98 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001332/0.8442, allocations: 1.651 MB / 1.114 GB, free: 41.32 MB / 0.7325 GB Notification: Performance of SimCode: time 9.02e-07/0.8442, allocations: 0 / 1.114 GB, free: 41.32 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1369/0.9811, allocations: 72.64 MB / 1.185 GB, free: 1.586 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.4/16.38, allocations: 8.047 kB / 1.185 GB, free: 1.578 MB / 0.7637 GB " [Timeout remaining time 643] (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.63038765010424] Failed to read output from testmodel.py, exit status != 0: 16.536776715889573 16.561992564 16.259934411 Calling exit ...