Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.001241/0.001241, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001421/0.001421, allocations: 211.8 kB / 22.25 MB, free: 5.121 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.357/1.357, allocations: 230.6 MB / 256 MB, free: 7.969 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.002366/0.002366, allocations: 283.2 kB / 312.7 MB, free: 2.785 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.155/1.155, allocations: 180.6 MB / 0.5369 GB, free: 12.99 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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",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.002828/0.002828, allocations: 108.9 kB / 0.7396 GB, free: 28.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1519, allocations: 95.38 MB / 0.8327 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.00801/0.16, allocations: 5.759 MB / 0.8384 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004666/0.1646, allocations: 2.775 MB / 0.8411 GB, free: 56 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004366/0.1651, allocations: 31.69 kB / 0.8411 GB, free: 24 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001908/0.167, allocations: 0.7157 MB / 0.8418 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001048/0.168, allocations: 425.7 kB / 0.8422 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.169, allocations: 417.4 kB / 0.8426 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001215/0.1702, allocations: 0.9517 MB / 0.8435 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005963/0.1708, allocations: 386.5 kB / 0.8439 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006161/0.1715, allocations: 390.5 kB / 0.8443 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006976/0.1722, allocations: 426.4 kB / 0.8447 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001004/0.1723, allocations: 48 kB / 0.8447 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006962/0.1729, allocations: 375.1 kB / 0.8451 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002768/0.1732, allocations: 251.2 kB / 0.8453 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004215/0.1736, allocations: 346.3 kB / 0.8457 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001358/0.175, allocations: 0.9766 MB / 0.8466 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.175, allocations: 4 kB / 0.8466 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.032e-06/0.175, allocations: 0 / 0.8466 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.362e-05/0.175, allocations: 0 / 0.8466 GB, free: 10.36 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001897/0.1769, allocations: 0.9254 MB / 0.8475 GB, free: 9.398 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.177, allocations: 13.94 kB / 0.8475 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001329/0.1771, allocations: 106.6 kB / 0.8476 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001391/0.1785, allocations: 196.2 kB / 0.8478 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009795/0.1795, allocations: 464.9 kB / 0.8483 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.499e-05/0.1795, allocations: 45.34 kB / 0.8483 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001861/0.1797, allocations: 56.55 kB / 0.8484 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/0.1811, allocations: 0.8316 MB / 0.8492 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.547e-05/0.1811, allocations: 0 / 0.8492 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.636e-05/0.1812, allocations: 27.92 kB / 0.8492 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001965/0.1813, allocations: 68.95 kB / 0.8493 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009193/0.1823, allocations: 0.5697 MB / 0.8498 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004589/0.1869, allocations: 4.497 MB / 0.8542 GB, free: 2.094 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004526/0.1873, allocations: 275.3 kB / 0.8545 GB, free: 1.816 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003104/0.1876, allocations: 213.2 kB / 0.8547 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.929e-05/0.1876, allocations: 4.281 kB / 0.8547 GB, free: 1.602 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.1877, allocations: 38.84 kB / 0.8547 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 1.643e-06/0.1877, allocations: 4 kB / 0.8547 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of matching and sorting (n=40): time 0.00533/0.193, allocations: 2.339 MB / 0.857 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.1931, allocations: 55.41 kB / 0.8571 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005076/0.1936, allocations: 462 kB / 0.8575 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.078e-05/0.1936, allocations: 37.7 kB / 0.8575 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002485/0.1939, allocations: 356.5 kB / 0.8579 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/0.194, allocations: 158.7 kB / 0.858 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001656/0.1941, allocations: 106.2 kB / 0.8581 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.1943, allocations: 362.8 kB / 0.8585 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003571/0.1947, allocations: 233.2 kB / 0.8587 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004874/0.1952, allocations: 411.3 kB / 0.8591 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009016/0.1961, allocations: 0.679 MB / 0.8598 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.1961, allocations: 4 kB / 0.8598 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001658/0.1977, allocations: 0.9135 MB / 0.8606 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.1977, allocations: 4 kB / 0.8607 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.1977, allocations: 8 kB / 0.8607 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007536/0.1985, allocations: 227 kB / 0.8609 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004974/0.199, allocations: 115.8 kB / 0.861 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005157/0.2042, allocations: 5.037 MB / 0.8659 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004019/0.2046, allocations: 31.97 kB / 0.8659 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.364e-05/0.2046, allocations: 24.06 kB / 0.866 GB, free: 5.418 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * 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 {(2,4,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.0002883/0.2049, allocations: 225.7 kB / 0.8662 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.205, allocations: 63.56 kB / 0.8662 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001486/0.2065, allocations: 0.7659 MB / 0.867 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.2065, allocations: 4 kB / 0.867 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.2065, allocations: 4 kB / 0.867 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.2065, allocations: 3.984 kB / 0.867 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002483/0.209, allocations: 1.47 MB / 0.8684 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.209, allocations: 4 kB / 0.8684 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003625/0.2093, allocations: 67.88 kB / 0.8685 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006429/0.21, allocations: 202.6 kB / 0.8687 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.578e-05/0.21, allocations: 12 kB / 0.8687 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004966/0.215, allocations: 4.964 MB / 0.8736 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.215, allocations: 4 kB / 0.8736 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001888/0.2169, allocations: 1.128 MB / 0.8747 GB, free: 12 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002696/0.2171, allocations: 99.53 kB / 0.8748 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.276e-05/0.2172, allocations: 16 kB / 0.8748 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003189/0.2176, allocations: 23.97 kB / 0.8748 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.355e-05/0.2176, allocations: 31.94 kB / 0.8748 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.361e-05/0.2177, allocations: 16.06 kB / 0.8748 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00037/0.218, allocations: 322.8 kB / 0.8751 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.218, allocations: 0 / 0.8751 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006724/0.2187, allocations: 164 kB / 0.8753 GB, free: 11.35 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002212/0.2209, allocations: 1.696 MB / 0.877 GB, free: 9.59 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001673/0.2226, allocations: 0.9615 MB / 0.8779 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.2226, allocations: 0 / 0.8779 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001006/0.2236, allocations: 0.6758 MB / 0.8786 GB, free: 7.875 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008431/0.2244, allocations: 189.1 kB / 0.8787 GB, free: 7.703 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008119/0.2326, allocations: 5.646 MB / 0.8842 GB, free: 1.777 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006271/0.2332, allocations: 0.9493 MB / 0.8852 GB, free: 0.8008 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003608/0.2336, allocations: 117 kB / 0.8853 GB, free: 0.6875 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002872/0.2338, allocations: 211.4 kB / 0.8855 GB, free: 492 kB / 0.6231 GB Notification: Performance of SimCode: time 9.12e-07/0.2338, allocations: 3.938 kB / 0.8855 GB, free: 488 kB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05712/0.291, allocations: 14.77 MB / 0.8999 GB, free: 1.992 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.17, allocations: 10.75 kB / 0.8999 GB, free: 1.984 MB / 0.6387 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.050877425121143] Failed to read output from testmodel.py, exit status != 0: 12.28210513992235 12.306503716 12.127067088 Calling exit ...