Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.00137/0.00137, allocations: 114.7 kB / 17.16 MB, free: 6.004 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.001491/0.001491, allocations: 212.6 kB / 20.13 MB, free: 3.055 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.517/1.517, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.002338/0.002338, allocations: 282.5 kB / 309.8 MB, free: 3.445 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.086/1.086, allocations: 180.6 MB / 0.5338 GB, free: 12.36 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.003063/0.003063, allocations: 99.84 kB / 0.7347 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4936/0.4966, allocations: 95.35 MB / 0.8278 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04034/0.537, allocations: 33.18 MB / 0.8602 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02022/0.5572, allocations: 10.41 MB / 0.8704 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003824/0.561, allocations: 196.4 kB / 0.8706 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01076/0.5718, allocations: 3.778 MB / 0.8742 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00669/0.5785, allocations: 1.946 MB / 0.8761 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00717/0.5856, allocations: 2.153 MB / 0.8782 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01161/0.5973, allocations: 7.325 MB / 0.8854 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01711/0.6144, allocations: 7.046 MB / 0.8923 GB, free: 7.402 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006881/0.6212, allocations: 3.267 MB / 0.8955 GB, free: 4.625 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006756/0.628, allocations: 3.684 MB / 0.8991 GB, free: 0.9297 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.002274/0.6303, allocations: 0.6484 MB / 0.8997 GB, free: 288 kB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005042/0.6353, allocations: 1.802 MB / 0.9015 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.004358/0.6397, allocations: 2.615 MB / 0.904 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.006132/0.6458, allocations: 2.898 MB / 0.9068 GB, free: 8.941 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01621/0.662, allocations: 10.13 MB / 0.9167 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.089e-05/0.662, allocations: 0 / 0.9167 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.975e-06/0.662, allocations: 0 / 0.9167 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0004141/0.6624, allocations: 0 / 0.9167 GB, free: 14.78 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01866/0.6811, allocations: 5.131 MB / 0.9218 GB, free: 9.566 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.279e-05/0.6812, allocations: 12.02 kB / 0.9218 GB, free: 9.555 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002081/0.6814, allocations: 125.5 kB / 0.9219 GB, free: 9.43 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002224/0.6836, allocations: 0.6781 MB / 0.9225 GB, free: 8.742 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006368/0.69, allocations: 0.9813 MB / 0.9235 GB, free: 7.758 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006531/0.6965, allocations: 3.051 MB / 0.9265 GB, free: 4.648 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002925/0.6968, allocations: 349.7 kB / 0.9268 GB, free: 4.305 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001012/0.6978, allocations: 464.3 kB / 0.9273 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01512/0.7129, allocations: 7.663 MB / 0.9347 GB, free: 11.84 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001337/0.7131, allocations: 27.78 kB / 0.9348 GB, free: 11.81 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005116/0.7136, allocations: 204 kB / 0.935 GB, free: 11.61 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003751/0.7139, allocations: 316.9 kB / 0.9353 GB, free: 11.3 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01117/0.7251, allocations: 5.71 MB / 0.9408 GB, free: 5.574 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04128/0.7664, allocations: 34.88 MB / 0.9749 GB, free: 15.49 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002968/0.7694, allocations: 2.008 MB / 0.9769 GB, free: 13.37 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001649/0.771, allocations: 1.128 MB / 0.978 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.277e-05/0.7711, allocations: 17.31 kB / 0.978 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.273e-05/0.7711, allocations: 47.86 kB / 0.978 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=133): time 3.497e-06/0.7711, allocations: 0 / 0.978 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of matching and sorting (n=136): time 0.01471/0.7859, allocations: 7.122 MB / 0.985 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/0.7859, allocations: 64.72 kB / 0.985 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002259/0.7882, allocations: 1.484 MB / 0.9865 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001292/0.7883, allocations: 45.7 kB / 0.9865 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001642/0.7899, allocations: 2.065 MB / 0.9886 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005354/0.7905, allocations: 0.5074 MB / 0.9891 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005505/0.791, allocations: 351.4 kB / 0.9894 GB, free: 188 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.7912, allocations: 305.1 kB / 0.9897 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001357/0.7925, allocations: 0.9096 MB / 0.9906 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001965/0.7945, allocations: 1.597 MB / 0.9921 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003588/0.7981, allocations: 2.729 MB / 0.9948 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.615e-05/0.7981, allocations: 8 kB / 0.9948 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006452/0.8046, allocations: 3.512 MB / 0.9982 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.565e-05/0.8046, allocations: 23.92 kB / 0.9983 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.676e-05/0.8046, allocations: 20 kB / 0.9983 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002752/0.8074, allocations: 0.9042 MB / 0.9992 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/0.8086, allocations: 351.4 kB / 0.9995 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0239/0.8325, allocations: 23.11 MB / 1.022 GB, free: 12.34 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001556/0.834, allocations: 104 kB / 1.022 GB, free: 12.24 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001667/0.8342, allocations: 88 kB / 1.022 GB, free: 12.15 MB / 0.7637 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 (185): * Single equations (assignments): 173 * 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 {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.002583/0.8368, allocations: 1.609 MB / 1.024 GB, free: 10.54 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004166/0.8372, allocations: 218.6 kB / 1.024 GB, free: 10.32 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005735/0.8429, allocations: 2.963 MB / 1.027 GB, free: 7.309 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.626e-05/0.8429, allocations: 19.98 kB / 1.027 GB, free: 7.289 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-05/0.843, allocations: 12 kB / 1.027 GB, free: 7.277 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.843, allocations: 7.922 kB / 1.027 GB, free: 7.27 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01217/0.8551, allocations: 7.313 MB / 1.034 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.198e-06/0.8552, allocations: 4 kB / 1.034 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008368/0.856, allocations: 179.7 kB / 1.034 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002554/0.8585, allocations: 0.8258 MB / 1.035 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.521e-05/0.8586, allocations: 28 kB / 1.035 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02221/0.8808, allocations: 21.96 MB / 1.057 GB, free: 7.008 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.748e-06/0.8809, allocations: 11.94 kB / 1.057 GB, free: 6.996 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005738/0.8866, allocations: 3.007 MB / 1.059 GB, free: 3.879 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009771/0.8876, allocations: 475.5 kB / 1.06 GB, free: 3.395 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002294/0.8878, allocations: 35.94 kB / 1.06 GB, free: 3.359 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008299/0.8886, allocations: 71.92 kB / 1.06 GB, free: 3.289 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003657/0.889, allocations: 120.7 kB / 1.06 GB, free: 3.172 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.888e-05/0.8891, allocations: 40 kB / 1.06 GB, free: 3.133 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0014/0.8905, allocations: 0.9756 MB / 1.061 GB, free: 2.133 MB / 0.795 GB Notification: Performance of sort global known variables: time 7e-08/0.8905, allocations: 0 / 1.061 GB, free: 2.133 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.002789/0.8933, allocations: 0.7852 MB / 1.062 GB, free: 1.348 MB / 0.795 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 (91): * Single equations (assignments): 79 * 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,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,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005803/0.8991, allocations: 3.603 MB / 1.065 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.006314/0.9054, allocations: 3.921 MB / 1.069 GB, free: 9.547 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/0.9054, allocations: 4 kB / 1.069 GB, free: 9.543 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.004054/0.9095, allocations: 2.663 MB / 1.072 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00328/0.9127, allocations: 0.7389 MB / 1.073 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0386/0.9513, allocations: 22.4 MB / 1.094 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004276/0.9556, allocations: 3.109 MB / 1.098 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001412/0.957, allocations: 461.8 kB / 1.098 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00206/0.9591, allocations: 1.542 MB / 1.099 GB, free: 9.449 MB / 0.8419 GB Notification: Performance of SimCode: time 1.072e-06/0.9591, allocations: 4 kB / 1.099 GB, free: 9.445 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.559/1.518, allocations: 61.92 MB / 1.16 GB, free: 275.6 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.71/15.23, allocations: 7.25 kB / 1.16 GB, free: 275.6 MB / 0.8731 GB " [Timeout remaining time 645] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.70463677297812] Failed to read output from testmodel.py, exit status != 0: 15.406785685045179 15.420484512 14.755504169 Calling exit ...