Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.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.001309/0.001309, allocations: 109.2 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.001465/0.001465, allocations: 217.9 kB / 22.26 MB, free: 5.125 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.365/1.365, allocations: 230.6 MB / 256 MB, free: 7.965 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.00239/0.00239, allocations: 286.4 kB / 312.7 MB, free: 2.773 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.149/1.149, allocations: 180.6 MB / 0.5369 GB, free: 13.07 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_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",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.00278/0.00278, allocations: 101.8 kB / 0.7396 GB, free: 27.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1565, allocations: 95.39 MB / 0.8327 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.008206/0.1647, allocations: 6.408 MB / 0.839 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005111/0.1698, allocations: 3.336 MB / 0.8423 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004339/0.1703, allocations: 47.62 kB / 0.8423 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002445/0.1727, allocations: 0.9627 MB / 0.8432 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001146/0.1738, allocations: 497.5 kB / 0.8437 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001195/0.175, allocations: 0.509 MB / 0.8442 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001286/0.1763, allocations: 1.1 MB / 0.8453 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007759/0.1771, allocations: 0.5065 MB / 0.8458 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006856/0.1778, allocations: 470.2 kB / 0.8462 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006787/0.1785, allocations: 498.1 kB / 0.8467 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.565e-05/0.1786, allocations: 56 kB / 0.8468 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000877/0.1794, allocations: 0.4912 MB / 0.8472 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002906/0.1797, allocations: 295.1 kB / 0.8475 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003844/0.1801, allocations: 401.9 kB / 0.8479 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001339/0.1814, allocations: 1.179 MB / 0.8491 GB, free: 7.871 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1815, allocations: 4 kB / 0.8491 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1815, allocations: 0 / 0.8491 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.449e-05/0.1815, allocations: 4 kB / 0.8491 GB, free: 7.863 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001563/0.183, allocations: 1.007 MB / 0.85 GB, free: 6.82 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.1831, allocations: 13.34 kB / 0.8501 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001222/0.1832, allocations: 114.7 kB / 0.8502 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001359/0.1845, allocations: 228.2 kB / 0.8504 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000937/0.1855, allocations: 0.5282 MB / 0.8509 GB, free: 5.91 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.807e-05/0.1855, allocations: 45.69 kB / 0.8509 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.1856, allocations: 68.31 kB / 0.851 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/0.187, allocations: 1.034 MB / 0.852 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.853e-05/0.187, allocations: 7.938 kB / 0.852 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.468e-05/0.1871, allocations: 35.92 kB / 0.8521 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.47e-05/0.1872, allocations: 65.27 kB / 0.8521 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/0.1882, allocations: 0.6918 MB / 0.8528 GB, free: 3.852 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00506/0.1933, allocations: 5.662 MB / 0.8583 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007357/0.194, allocations: 410.3 kB / 0.8587 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007445/0.1947, allocations: 392.6 kB / 0.8591 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.246e-05/0.1948, allocations: 4 kB / 0.8591 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.1948, allocations: 42.5 kB / 0.8591 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=41): time 1.613e-06/0.1948, allocations: 0 / 0.8591 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42): time 0.003988/0.1988, allocations: 1.71 MB / 0.8608 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.1988, allocations: 59.41 kB / 0.8609 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004974/0.1993, allocations: 466.8 kB / 0.8613 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.338e-05/0.1994, allocations: 29.7 kB / 0.8613 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002695/0.1996, allocations: 404 kB / 0.8617 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.1998, allocations: 154.7 kB / 0.8619 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.1999, allocations: 114.2 kB / 0.862 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.2001, allocations: 366.8 kB / 0.8623 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003498/0.2004, allocations: 245.2 kB / 0.8626 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005096/0.2009, allocations: 457 kB / 0.863 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009128/0.2019, allocations: 0.7441 MB / 0.8637 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2019, allocations: 0 / 0.8637 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001792/0.2037, allocations: 1.034 MB / 0.8647 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.2037, allocations: 12.86 kB / 0.8648 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.2037, allocations: 7.938 kB / 0.8648 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009606/0.2046, allocations: 323.1 kB / 0.8651 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003076/0.205, allocations: 95.81 kB / 0.8652 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007098/0.2121, allocations: 7.074 MB / 0.8721 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003842/0.2124, allocations: 28.02 kB / 0.8721 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.514e-05/0.2125, allocations: 35.94 kB / 0.8721 GB, free: 14.86 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003266/0.2128, allocations: 238.2 kB / 0.8724 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.494e-05/0.2129, allocations: 71.56 kB / 0.8724 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001645/0.2145, allocations: 0.8809 MB / 0.8733 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.2146, allocations: 7.938 kB / 0.8733 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.2146, allocations: 4 kB / 0.8733 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.2146, allocations: 3.984 kB / 0.8733 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002591/0.2172, allocations: 1.637 MB / 0.8749 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.2172, allocations: 4.031 kB / 0.8749 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.2173, allocations: 47.91 kB / 0.8749 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008897/0.2182, allocations: 307.1 kB / 0.8752 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/0.2182, allocations: 8 kB / 0.8752 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007333/0.2256, allocations: 7.052 MB / 0.8821 GB, free: 4.039 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.2256, allocations: 11.88 kB / 0.8821 GB, free: 4.027 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001734/0.2273, allocations: 0.9845 MB / 0.8831 GB, free: 2.996 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002814/0.2276, allocations: 99.58 kB / 0.8832 GB, free: 2.898 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.914e-05/0.2277, allocations: 8 kB / 0.8832 GB, free: 2.891 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002689/0.228, allocations: 23.91 kB / 0.8832 GB, free: 2.867 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.2281, allocations: 51.86 kB / 0.8833 GB, free: 2.816 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-05/0.2281, allocations: 8 kB / 0.8833 GB, free: 2.809 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003545/0.2284, allocations: 310.9 kB / 0.8836 GB, free: 2.508 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.2284, allocations: 0 / 0.8836 GB, free: 2.508 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007305/0.2292, allocations: 196 kB / 0.8838 GB, free: 2.316 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001927/0.2311, allocations: 1.529 MB / 0.8853 GB, free: 0.7266 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001847/0.2329, allocations: 1.163 MB / 0.8864 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.2329, allocations: 0 / 0.8864 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001213/0.2342, allocations: 0.8307 MB / 0.8872 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009156/0.2351, allocations: 203 kB / 0.8874 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00845/0.2435, allocations: 5.883 MB / 0.8932 GB, free: 8.238 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006936/0.2442, allocations: 0.992 MB / 0.8941 GB, free: 7.219 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002778/0.2445, allocations: 101.2 kB / 0.8942 GB, free: 7.121 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000278/0.2448, allocations: 231.3 kB / 0.8944 GB, free: 6.895 MB / 0.6387 GB Notification: Performance of SimCode: time 8.32e-07/0.2448, allocations: 0 / 0.8944 GB, free: 6.895 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0565/0.3013, allocations: 16.01 MB / 0.9101 GB, free: 7.152 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.65, allocations: 17.59 kB / 0.9101 GB, free: 7.145 MB / 0.6544 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.555908996146172] Failed to read output from testmodel.py, exit status != 0: 11.760875820880756 11.776935014 11.592520739 Calling exit ...