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.001786/0.001786, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002259/0.002259, allocations: 209.6 kB / 22.24 MB, free: 5.262 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.484/1.484, allocations: 230.6 MB / 256 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.002582/0.002582, allocations: 294 kB / 312.7 MB, free: 2.59 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.214/1.214, allocations: 180.6 MB / 0.5369 GB, free: 14.5 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="me",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="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.003053/0.003053, allocations: 101.8 kB / 0.7395 GB, free: 28.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1732, allocations: 95.38 MB / 0.8327 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02643/0.1996, allocations: 19.52 MB / 0.8517 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01168/0.2113, allocations: 6.477 MB / 0.858 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00177/0.213, allocations: 115.1 kB / 0.8582 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.005906/0.2189, allocations: 2.249 MB / 0.8603 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003271/0.2222, allocations: 1.24 MB / 0.8616 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003364/0.2256, allocations: 1.288 MB / 0.8628 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005897/0.2315, allocations: 4.843 MB / 0.8675 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005601/0.2371, allocations: 3.158 MB / 0.8706 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00382/0.2409, allocations: 2.158 MB / 0.8727 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004275/0.2452, allocations: 2.328 MB / 0.875 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001121/0.2463, allocations: 436 kB / 0.8754 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002624/0.2489, allocations: 0.9401 MB / 0.8763 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.002787/0.2517, allocations: 1.711 MB / 0.878 GB, free: 9.703 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.003453/0.2552, allocations: 1.549 MB / 0.8795 GB, free: 8.148 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.007633/0.2628, allocations: 6.573 MB / 0.8859 GB, free: 1.555 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.2628, allocations: 0 / 0.8859 GB, free: 1.555 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.834e-06/0.2628, allocations: 0 / 0.8859 GB, free: 1.555 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.874e-05/0.2629, allocations: 0 / 0.8859 GB, free: 1.555 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.006456/0.2694, allocations: 3.458 MB / 0.8893 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.2694, allocations: 13.34 kB / 0.8893 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006126/0.27, allocations: 462.5 kB / 0.8898 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003216/0.2732, allocations: 0.6468 MB / 0.8904 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004466/0.2777, allocations: 1.993 MB / 0.8924 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001963/0.2779, allocations: 222.3 kB / 0.8926 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005013/0.2784, allocations: 304 kB / 0.8929 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008004/0.2864, allocations: 5.238 MB / 0.898 GB, free: 4.84 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-05/0.2865, allocations: 7.938 kB / 0.898 GB, free: 4.832 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002988/0.2868, allocations: 128 kB / 0.8981 GB, free: 4.707 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004486/0.2872, allocations: 229.7 kB / 0.8983 GB, free: 4.48 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006127/0.2933, allocations: 3.75 MB / 0.902 GB, free: 0.7188 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01863/0.312, allocations: 13.57 MB / 0.9152 GB, free: 2.793 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00187/0.3138, allocations: 1.236 MB / 0.9164 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001484/0.3153, allocations: 0.988 MB / 0.9174 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.114e-05/0.3154, allocations: 9 kB / 0.9174 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.467e-05/0.3154, allocations: 47.56 kB / 0.9175 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=107): time 3.196e-06/0.3154, allocations: 0 / 0.9175 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of matching and sorting (n=138): time 0.02492/0.3404, allocations: 8.428 MB / 0.9257 GB, free: 8.062 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.876e-05/0.3404, allocations: 64.72 kB / 0.9258 GB, free: 7.988 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00158/0.342, allocations: 1.161 MB / 0.9269 GB, free: 6.82 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001029/0.3421, allocations: 53.64 kB / 0.9269 GB, free: 6.762 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001029/0.3431, allocations: 1.339 MB / 0.9282 GB, free: 5.41 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004565/0.3436, allocations: 0.4958 MB / 0.9287 GB, free: 4.91 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004792/0.3441, allocations: 287.5 kB / 0.929 GB, free: 4.625 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.3442, allocations: 305.1 kB / 0.9293 GB, free: 4.324 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001405/0.3456, allocations: 0.9135 MB / 0.9302 GB, free: 3.41 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00174/0.3474, allocations: 1.318 MB / 0.9315 GB, free: 1.926 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003322/0.3507, allocations: 2.43 MB / 0.9338 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.277e-06/0.3507, allocations: 4 kB / 0.9339 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006263/0.3569, allocations: 3.433 MB / 0.9372 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.357, allocations: 8 kB / 0.9372 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.789e-05/0.357, allocations: 12.84 kB / 0.9372 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003279/0.3603, allocations: 1.181 MB / 0.9384 GB, free: 10.66 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009302/0.3612, allocations: 263.5 kB / 0.9386 GB, free: 10.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0188/0.38, allocations: 13.35 MB / 0.9517 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/0.3812, allocations: 91.97 kB / 0.9518 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/0.3814, allocations: 63.98 kB / 0.9518 GB, free: 12.56 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.001743/0.3831, allocations: 1.111 MB / 0.9529 GB, free: 11.44 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002732/0.3834, allocations: 174.9 kB / 0.9531 GB, free: 11.27 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006051/0.3894, allocations: 3.13 MB / 0.9561 GB, free: 8.113 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.484e-05/0.3894, allocations: 12 kB / 0.9561 GB, free: 8.102 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.609e-05/0.3895, allocations: 15.94 kB / 0.9562 GB, free: 8.086 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.369e-05/0.3895, allocations: 7.969 kB / 0.9562 GB, free: 8.078 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01093/0.4004, allocations: 5.913 MB / 0.9619 GB, free: 2.031 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/0.4004, allocations: 4 kB / 0.9619 GB, free: 2.027 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006157/0.401, allocations: 143.8 kB / 0.9621 GB, free: 1.887 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003019/0.404, allocations: 1.072 MB / 0.9631 GB, free: 0.8086 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-05/0.4041, allocations: 28.38 kB / 0.9631 GB, free: 0.7812 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01841/0.4225, allocations: 13.05 MB / 0.9759 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.976e-06/0.4226, allocations: 11.92 kB / 0.9759 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005594/0.4281, allocations: 3.116 MB / 0.9789 GB, free: 188 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.3769/0.805, allocations: 358 kB / 0.9793 GB, free: 133.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004002/0.8054, allocations: 32.42 kB / 0.9793 GB, free: 133.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009082/0.8063, allocations: 79.62 kB / 0.9794 GB, free: 133.3 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003739/0.8067, allocations: 128.3 kB / 0.9795 GB, free: 133.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.208e-05/0.8068, allocations: 39.78 kB / 0.9796 GB, free: 133.3 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001124/0.8079, allocations: 0.7659 MB / 0.9803 GB, free: 133.2 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7.1e-08/0.8079, allocations: 0 / 0.9803 GB, free: 133.2 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002158/0.8101, allocations: 0.6617 MB / 0.9809 GB, free: 133.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.005286/0.8154, allocations: 3.709 MB / 0.9846 GB, free: 132.3 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004406/0.8198, allocations: 3.014 MB / 0.9875 GB, free: 131.8 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.8198, allocations: 0 / 0.9875 GB, free: 131.8 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003/0.8228, allocations: 1.882 MB / 0.9894 GB, free: 131 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002311/0.8251, allocations: 0.5017 MB / 0.9898 GB, free: 130.9 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02997/0.8551, allocations: 19.19 MB / 1.009 GB, free: 122 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002/0.8571, allocations: 1.767 MB / 1.01 GB, free: 121.6 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001072/0.8581, allocations: 355.4 kB / 1.011 GB, free: 121.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009559/0.8591, allocations: 1.008 MB / 1.012 GB, free: 120.7 MB / 0.7169 GB Notification: Performance of SimCode: time 1.292e-06/0.8591, allocations: 4 kB / 1.012 GB, free: 120.7 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08849/0.9476, allocations: 55.91 MB / 1.066 GB, free: 66.54 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/13.89, allocations: 10.7 kB / 1.066 GB, free: 66.54 MB / 0.7169 GB " [Timeout remaining time 646] (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: 18.280092707835138] Failed to read output from testmodel.py, exit status != 0: 14.026743650902063 14.037146807 13.772000194 Calling exit ...