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.0008435/0.0008435, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008234/0.0008234, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8842/0.8842, allocations: 177.2 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.0014/0.0014, allocations: 237.4 kB / 259.4 MB, free: 13.03 MB / 250.7 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 0.7176/0.7176, allocations: 138.4 MB / 454.3 MB, free: 30.04 MB / 410.7 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="me",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="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.6463 GB, free: 1.863 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.266e-05/1.402e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.855 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.2504/0.2504, allocations: 30.81 MB / 0.6764 GB, free: 39.45 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01086/0.2613, allocations: 10.12 MB / 0.6863 GB, free: 32.93 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001865/0.2631, allocations: 198.2 kB / 0.6865 GB, free: 32.84 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.004253/0.2674, allocations: 3.75 MB / 0.6901 GB, free: 30.73 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.003479/0.2709, allocations: 1.999 MB / 0.6921 GB, free: 29.48 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003784/0.2746, allocations: 2.16 MB / 0.6942 GB, free: 28.27 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.006658/0.2813, allocations: 7.469 MB / 0.7015 GB, free: 24.81 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005238/0.2865, allocations: 5.119 MB / 0.7065 GB, free: 22.06 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004405/0.2909, allocations: 4.586 MB / 0.711 GB, free: 19.09 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003838/0.2948, allocations: 3.236 MB / 0.7141 GB, free: 17.24 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.001229/0.296, allocations: 0.6454 MB / 0.7148 GB, free: 17.24 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002782/0.2988, allocations: 1.68 MB / 0.7164 GB, free: 16.65 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.001671/0.3005, allocations: 2.725 MB / 0.7191 GB, free: 14.87 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.002312/0.3028, allocations: 2.01 MB / 0.721 GB, free: 13.71 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.00528/0.308, allocations: 10.32 MB / 0.7311 GB, free: 4.418 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.3081, allocations: 0 / 0.7311 GB, free: 4.418 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3081, allocations: 0 / 0.7311 GB, free: 4.418 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.166e-05/0.3081, allocations: 0.5625 kB / 0.7311 GB, free: 4.418 MB / 0.5573 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.004021/0.3121, allocations: 4.999 MB / 0.736 GB, free: 15.36 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.3122, allocations: 13.94 kB / 0.736 GB, free: 15.35 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008612/0.313, allocations: 0.6781 MB / 0.7367 GB, free: 14.66 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002633/0.3157, allocations: 0.9891 MB / 0.7376 GB, free: 13.67 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003269/0.3189, allocations: 3.002 MB / 0.7406 GB, free: 10.6 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001666/0.3191, allocations: 354.2 kB / 0.7409 GB, free: 10.26 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004479/0.3195, allocations: 460.3 kB / 0.7413 GB, free: 9.809 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007886/0.3274, allocations: 7.968 MB / 0.7491 GB, free: 1.418 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.988e-05/0.3275, allocations: 39.89 kB / 0.7492 GB, free: 1.379 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003139/0.3278, allocations: 205.5 kB / 0.7494 GB, free: 1.18 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002142/0.328, allocations: 313.7 kB / 0.7497 GB, free: 0.8711 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006221/0.3343, allocations: 5.706 MB / 0.7552 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01716/0.3514, allocations: 22.65 MB / 0.7774 GB, free: 3.883 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001556/0.353, allocations: 1.555 MB / 0.7789 GB, free: 2.32 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009716/0.3539, allocations: 1.124 MB / 0.78 GB, free: 1.195 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.663e-05/0.354, allocations: 13.31 kB / 0.78 GB, free: 1.184 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.354, allocations: 43.88 kB / 0.78 GB, free: 1.133 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=133): time 2.966e-06/0.354, allocations: 0 / 0.78 GB, free: 1.133 MB / 0.6042 GB Notification: Performance of matching and sorting (n=136): time 0.007305/0.3613, allocations: 6.215 MB / 0.7861 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.3614, allocations: 72.66 kB / 0.7862 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.3626, allocations: 1.523 MB / 0.7876 GB, free: 9.223 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.284e-05/0.3626, allocations: 45.7 kB / 0.7877 GB, free: 9.172 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008288/0.3635, allocations: 2.061 MB / 0.7897 GB, free: 7.09 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002722/0.3637, allocations: 0.4957 MB / 0.7902 GB, free: 6.59 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000317/0.3641, allocations: 351.3 kB / 0.7905 GB, free: 6.242 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.807e-05/0.3641, allocations: 301.1 kB / 0.7908 GB, free: 5.945 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008429/0.365, allocations: 0.9096 MB / 0.7917 GB, free: 5.035 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001142/0.3661, allocations: 1.593 MB / 0.7933 GB, free: 3.129 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002151/0.3683, allocations: 2.74 MB / 0.7959 GB, free: 84 kB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/0.3683, allocations: 4 kB / 0.7959 GB, free: 80 kB / 0.6198 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.003594/0.3719, allocations: 3.511 MB / 0.7994 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/0.3719, allocations: 16 kB / 0.7994 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/0.3719, allocations: 20.84 kB / 0.7994 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001377/0.3733, allocations: 0.9077 MB / 0.8003 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006188/0.3739, allocations: 347.4 kB / 0.8006 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01284/0.3867, allocations: 21.72 MB / 0.8218 GB, free: 4.113 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007548/0.3875, allocations: 95.92 kB / 0.8219 GB, free: 4.02 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.768e-05/0.3876, allocations: 91.98 kB / 0.822 GB, free: 3.93 MB / 0.6511 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.002139/0.3897, allocations: 1.606 MB / 0.8236 GB, free: 2.312 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001781/0.3899, allocations: 214.5 kB / 0.8238 GB, free: 2.105 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003187/0.3931, allocations: 2.974 MB / 0.8267 GB, free: 15.08 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.3931, allocations: 15.94 kB / 0.8267 GB, free: 15.06 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.908e-06/0.3931, allocations: 8 kB / 0.8267 GB, free: 15.05 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.3931, allocations: 11.97 kB / 0.8267 GB, free: 15.04 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007646/0.4008, allocations: 6.711 MB / 0.8333 GB, free: 8.176 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.4008, allocations: 8.562 kB / 0.8333 GB, free: 8.168 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000398/0.4012, allocations: 179.7 kB / 0.8335 GB, free: 7.992 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001606/0.4028, allocations: 0.8142 MB / 0.8342 GB, free: 7.141 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.155e-05/0.4028, allocations: 32 kB / 0.8343 GB, free: 7.109 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01152/0.4144, allocations: 20.57 MB / 0.8544 GB, free: 1.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.4144, allocations: 8.125 kB / 0.8544 GB, free: 1.152 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00315/0.4175, allocations: 3.007 MB / 0.8573 GB, free: 14.04 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005247/0.418, allocations: 394.5 kB / 0.8577 GB, free: 13.65 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.4182, allocations: 28 kB / 0.8577 GB, free: 13.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004113/0.4186, allocations: 71.84 kB / 0.8578 GB, free: 13.55 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002009/0.4188, allocations: 128.7 kB / 0.8579 GB, free: 13.43 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.842e-05/0.4188, allocations: 36 kB / 0.8579 GB, free: 13.39 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008307/0.4196, allocations: 0.981 MB / 0.8589 GB, free: 12.39 MB / 0.698 GB Notification: Performance of sort global known variables: time 8e-08/0.4196, allocations: 0 / 0.8589 GB, free: 12.39 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001835/0.4215, allocations: 0.7891 MB / 0.8597 GB, free: 11.6 MB / 0.698 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.003445/0.4249, allocations: 3.585 MB / 0.8632 GB, free: 7.891 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003407/0.4283, allocations: 3.913 MB / 0.867 GB, free: 3.824 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4283, allocations: 4 kB / 0.867 GB, free: 3.82 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002325/0.4307, allocations: 2.663 MB / 0.8696 GB, free: 1.004 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001666/0.4323, allocations: 0.7497 MB / 0.8703 GB, free: 312 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02252/0.4548, allocations: 22.52 MB / 0.8923 GB, free: 8.758 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002111/0.457, allocations: 2.561 MB / 0.8948 GB, free: 6.164 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000832/0.4578, allocations: 454 kB / 0.8953 GB, free: 5.719 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001366/0.4592, allocations: 1.535 MB / 0.8968 GB, free: 4.184 MB / 0.7292 GB Notification: Performance of SimCode: time 1.733e-06/0.4592, allocations: 0 / 0.8968 GB, free: 4.184 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3484/0.8075, allocations: 65.81 MB / 0.961 GB, free: 227.1 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.412/9.22, allocations: 5.359 kB / 0.961 GB, free: 227.1 MB / 0.7605 GB " [Timeout remaining time 651] (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: 11.972364221699536] Failed to read output from testmodel.py, exit status != 0: 9.328092711046338 9.33590614 9.025919935 Calling exit ...