Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.001276/0.001276, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001404/0.001404, allocations: 219.1 kB / 23.03 MB, free: 4.922 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.002617/0.002617, allocations: 292.3 kB / 313.5 MB, free: 2.602 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.241/1.241, allocations: 180.6 MB / 0.5377 GB, free: 14.48 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_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",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.002881/0.002881, allocations: 106.7 kB / 0.7403 GB, free: 28.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.1897, allocations: 95.39 MB / 0.8334 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02564/0.2153, allocations: 19.49 MB / 0.8525 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01151/0.2268, allocations: 6.469 MB / 0.8588 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001845/0.2287, allocations: 111.2 kB / 0.8589 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.006039/0.2347, allocations: 2.232 MB / 0.8611 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003648/0.2384, allocations: 1.248 MB / 0.8623 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003428/0.2418, allocations: 1.282 MB / 0.8635 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.006238/0.248, allocations: 4.843 MB / 0.8683 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004972/0.253, allocations: 3.193 MB / 0.8714 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003998/0.257, allocations: 2.162 MB / 0.8735 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004639/0.2616, allocations: 2.469 MB / 0.8759 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001228/0.2629, allocations: 428 kB / 0.8763 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002506/0.2654, allocations: 0.9557 MB / 0.8772 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.00206/0.2674, allocations: 1.715 MB / 0.8789 GB, free: 9.52 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002885/0.2703, allocations: 1.545 MB / 0.8804 GB, free: 7.969 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.008123/0.2784, allocations: 6.565 MB / 0.8868 GB, free: 1.383 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.2785, allocations: 0 / 0.8868 GB, free: 1.383 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2785, allocations: 0 / 0.8868 GB, free: 1.383 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001207/0.2786, allocations: 0 / 0.8868 GB, free: 1.383 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.006983/0.2856, allocations: 3.466 MB / 0.8902 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.2856, allocations: 9.344 kB / 0.8902 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.694e-05/0.2857, allocations: 82.16 kB / 0.8903 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006438/0.2863, allocations: 454.6 kB / 0.8907 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003496/0.2898, allocations: 0.6467 MB / 0.8914 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003958/0.2938, allocations: 1.997 MB / 0.8933 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001818/0.294, allocations: 226.3 kB / 0.8935 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005289/0.2945, allocations: 299.9 kB / 0.8938 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008714/0.3032, allocations: 5.238 MB / 0.8989 GB, free: 4.582 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.63e-05/0.3033, allocations: 11.94 kB / 0.899 GB, free: 4.57 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003211/0.3036, allocations: 124 kB / 0.8991 GB, free: 4.449 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004554/0.3041, allocations: 229.7 kB / 0.8993 GB, free: 4.223 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006509/0.3106, allocations: 3.758 MB / 0.903 GB, free: 464 kB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01881/0.3294, allocations: 13.58 MB / 0.9162 GB, free: 2.52 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001852/0.3313, allocations: 1.236 MB / 0.9174 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00147/0.3327, allocations: 0.9802 MB / 0.9184 GB, free: 308 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.947e-05/0.3328, allocations: 9 kB / 0.9184 GB, free: 296 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.707e-05/0.3328, allocations: 47.56 kB / 0.9184 GB, free: 240 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=107): time 3.145e-06/0.3328, allocations: 0 / 0.9184 GB, free: 240 kB / 0.6544 GB Notification: Performance of matching and sorting (n=138): time 0.02533/0.3582, allocations: 8.428 MB / 0.9267 GB, free: 7.801 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.531e-05/0.3582, allocations: 68.66 kB / 0.9267 GB, free: 7.723 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001797/0.36, allocations: 1.138 MB / 0.9278 GB, free: 6.578 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001556/0.3602, allocations: 53.7 kB / 0.9279 GB, free: 6.52 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001105/0.3613, allocations: 1.327 MB / 0.9292 GB, free: 5.18 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000543/0.3618, allocations: 0.4996 MB / 0.9297 GB, free: 4.676 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005317/0.3624, allocations: 291.5 kB / 0.93 GB, free: 4.387 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.3625, allocations: 305.1 kB / 0.9302 GB, free: 4.086 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001425/0.3639, allocations: 0.9096 MB / 0.9311 GB, free: 3.176 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00174/0.3657, allocations: 1.326 MB / 0.9324 GB, free: 1.684 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003357/0.369, allocations: 2.433 MB / 0.9348 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.369, allocations: 0 / 0.9348 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.00641/0.3754, allocations: 3.433 MB / 0.9382 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.595e-05/0.3755, allocations: 12 kB / 0.9382 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.378e-05/0.3755, allocations: 12.84 kB / 0.9382 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003522/0.379, allocations: 1.178 MB / 0.9393 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009621/0.38, allocations: 259.5 kB / 0.9396 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01863/0.3986, allocations: 13.36 MB / 0.9526 GB, free: 12.47 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/0.3999, allocations: 87.92 kB / 0.9527 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001581/0.4001, allocations: 63.98 kB / 0.9528 GB, free: 12.32 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001985/0.4021, allocations: 1.115 MB / 0.9539 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003607/0.4024, allocations: 178.9 kB / 0.954 GB, free: 11.02 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006066/0.4085, allocations: 3.118 MB / 0.9571 GB, free: 7.875 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.908e-05/0.4085, allocations: 23.88 kB / 0.9571 GB, free: 7.852 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.08e-05/0.4085, allocations: 12 kB / 0.9571 GB, free: 7.84 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.705e-05/0.4085, allocations: 11.95 kB / 0.9571 GB, free: 7.828 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0112/0.4197, allocations: 5.905 MB / 0.9629 GB, free: 1.793 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.261e-05/0.4198, allocations: 4 kB / 0.9629 GB, free: 1.789 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006354/0.4204, allocations: 147.8 kB / 0.963 GB, free: 1.645 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003099/0.4235, allocations: 1.063 MB / 0.9641 GB, free: 0.5742 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001286/0.4236, allocations: 35.98 kB / 0.9641 GB, free: 0.5391 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01823/0.4418, allocations: 13.05 MB / 0.9769 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/0.4419, allocations: 7.938 kB / 0.9769 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.414/0.8558, allocations: 3.114 MB / 0.9799 GB, free: 132.3 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001065/0.8569, allocations: 362 kB / 0.9803 GB, free: 132.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002337/0.8571, allocations: 27.84 kB / 0.9803 GB, free: 132.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008695/0.858, allocations: 83.08 kB / 0.9804 GB, free: 132.3 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000396/0.8584, allocations: 128.7 kB / 0.9805 GB, free: 132.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.862e-05/0.8585, allocations: 36.58 kB / 0.9805 GB, free: 132.3 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001095/0.8596, allocations: 0.7664 MB / 0.9813 GB, free: 132.2 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.8596, allocations: 2.906 kB / 0.9813 GB, free: 132.2 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002162/0.8618, allocations: 0.662 MB / 0.9819 GB, free: 132.2 MB / 0.7169 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005795/0.8676, allocations: 3.705 MB / 0.9855 GB, free: 131.3 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004301/0.8719, allocations: 3.022 MB / 0.9885 GB, free: 130.8 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.8719, allocations: 0 / 0.9885 GB, free: 130.8 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002994/0.8749, allocations: 1.874 MB / 0.9903 GB, free: 130 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002377/0.8772, allocations: 0.4998 MB / 0.9908 GB, free: 129.8 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03007/0.9073, allocations: 19.19 MB / 1.01 GB, free: 121 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001919/0.9092, allocations: 1.77 MB / 1.011 GB, free: 120.5 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001091/0.9103, allocations: 352.2 kB / 1.012 GB, free: 120.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008695/0.9112, allocations: 1.011 MB / 1.013 GB, free: 119.6 MB / 0.7169 GB Notification: Performance of SimCode: time 9.22e-07/0.9112, allocations: 0 / 1.013 GB, free: 119.6 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08282/0.994, allocations: 56.14 MB / 1.067 GB, free: 66.15 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.66/15.66, allocations: 12.34 kB / 1.067 GB, free: 66.14 MB / 0.7169 GB " [Timeout remaining time 644] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.233164846082218] Failed to read output from testmodel.py, exit status != 0: 15.849460216006264 15.86186125 15.580665869 Calling exit ...