Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.001305/0.001305, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001556/0.001556, allocations: 220.9 kB / 23.01 MB, free: 4.609 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.438/1.438, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.002544/0.002544, allocations: 280.2 kB / 313.5 MB, free: 2.898 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.186/1.186, allocations: 180.6 MB / 0.5377 GB, free: 12.95 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: translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [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.002805/0.002805, allocations: 103.8 kB / 0.7408 GB, free: 27.92 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1556, allocations: 95.38 MB / 0.834 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009238/0.1648, allocations: 7.011 MB / 0.8408 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005276/0.1701, allocations: 3.192 MB / 0.8439 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005055/0.1706, allocations: 35.69 kB / 0.844 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002639/0.1732, allocations: 0.9972 MB / 0.8449 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001238/0.1745, allocations: 0.5207 MB / 0.8454 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.1756, allocations: 429 kB / 0.8458 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001648/0.1772, allocations: 1.225 MB / 0.847 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009216/0.1781, allocations: 0.5334 MB / 0.8476 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008242/0.179, allocations: 490.3 kB / 0.848 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009655/0.1799, allocations: 0.5448 MB / 0.8486 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001669/0.1801, allocations: 72 kB / 0.8486 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007757/0.1809, allocations: 395.2 kB / 0.849 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003809/0.1813, allocations: 311.1 kB / 0.8493 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0009824/0.1822, allocations: 457.7 kB / 0.8497 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002218/0.1845, allocations: 1.218 MB / 0.8509 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.1845, allocations: 0 / 0.8509 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1845, allocations: 0 / 0.8509 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.19e-05/0.1845, allocations: 0 / 0.8509 GB, free: 6.645 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002749/0.1873, allocations: 1.104 MB / 0.852 GB, free: 5.504 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.1873, allocations: 9.344 kB / 0.852 GB, free: 5.496 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001624/0.1889, allocations: 248.1 kB / 0.8523 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.1901, allocations: 0.5268 MB / 0.8528 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.083e-05/0.1901, allocations: 53.67 kB / 0.8528 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.1902, allocations: 64.36 kB / 0.8529 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/0.1919, allocations: 1.081 MB / 0.8539 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.45e-05/0.1919, allocations: 11.89 kB / 0.8539 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.308e-05/0.192, allocations: 35.92 kB / 0.854 GB, free: 3.348 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001563/0.1922, allocations: 85.25 kB / 0.8541 GB, free: 3.262 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/0.1934, allocations: 0.7504 MB / 0.8548 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006101/0.1995, allocations: 5.795 MB / 0.8605 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.2006, allocations: 0.5234 MB / 0.861 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004548/0.2011, allocations: 287.1 kB / 0.8612 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.759e-05/0.2011, allocations: 4.438 kB / 0.8612 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.2011, allocations: 39 kB / 0.8613 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=47): time 1.703e-06/0.2011, allocations: 4 kB / 0.8613 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.003852/0.205, allocations: 1.675 MB / 0.8629 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/0.205, allocations: 67.83 kB / 0.863 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006839/0.2057, allocations: 0.5548 MB / 0.8635 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.239e-05/0.2058, allocations: 29.7 kB / 0.8636 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003237/0.2061, allocations: 428 kB / 0.864 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001646/0.2062, allocations: 182.5 kB / 0.8641 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002051/0.2065, allocations: 122.6 kB / 0.8643 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001908/0.2066, allocations: 378.7 kB / 0.8646 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004503/0.2071, allocations: 273.8 kB / 0.8649 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000639/0.2077, allocations: 496.9 kB / 0.8654 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/0.2089, allocations: 0.8122 MB / 0.8661 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.187e-06/0.2089, allocations: 0 / 0.8661 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001973/0.2108, allocations: 1.082 MB / 0.8672 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.2109, allocations: 14.12 kB / 0.8672 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.2109, allocations: 4 kB / 0.8672 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008842/0.2118, allocations: 279.5 kB / 0.8675 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005004/0.2123, allocations: 123.8 kB / 0.8676 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007151/0.2194, allocations: 6.733 MB / 0.8742 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005501/0.22, allocations: 35.97 kB / 0.8742 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.04e-05/0.22, allocations: 32 kB / 0.8742 GB, free: 13.41 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (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.0003757/0.2204, allocations: 258.2 kB / 0.8745 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.2205, allocations: 79.47 kB / 0.8746 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001665/0.2222, allocations: 0.8729 MB / 0.8754 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.2222, allocations: 7.984 kB / 0.8754 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.898e-06/0.2222, allocations: 8.188 kB / 0.8754 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.2222, allocations: 4 kB / 0.8754 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002831/0.2251, allocations: 1.685 MB / 0.8771 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.2251, allocations: 0 / 0.8771 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002682/0.2253, allocations: 63.83 kB / 0.8771 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007576/0.2261, allocations: 267.4 kB / 0.8774 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.407e-05/0.2261, allocations: 8 kB / 0.8774 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006957/0.2331, allocations: 6.721 MB / 0.884 GB, free: 2.871 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.2331, allocations: 7.922 kB / 0.884 GB, free: 2.863 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/0.2347, allocations: 0.9838 MB / 0.8849 GB, free: 1.832 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003428/0.235, allocations: 111.5 kB / 0.885 GB, free: 1.723 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.2351, allocations: 15.94 kB / 0.8851 GB, free: 1.707 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003841/0.2355, allocations: 31.91 kB / 0.8851 GB, free: 1.676 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.508e-05/0.2356, allocations: 39.92 kB / 0.8851 GB, free: 1.637 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.555e-05/0.2356, allocations: 19.98 kB / 0.8851 GB, free: 1.617 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004671/0.2361, allocations: 383.1 kB / 0.8855 GB, free: 1.25 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9e-08/0.2361, allocations: 8 kB / 0.8855 GB, free: 1.242 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008155/0.2369, allocations: 220 kB / 0.8857 GB, free: 1.027 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 (31): * 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: 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001608/0.2371, allocations: 111.1 kB / 0.8858 GB, free: 0.9102 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002082/0.2392, allocations: 1.228 MB / 0.887 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.2392, allocations: 4 kB / 0.887 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001279/0.2405, allocations: 0.8619 MB / 0.8879 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.2415, allocations: 226.6 kB / 0.8881 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002465/0.2439, allocations: 1.413 MB / 0.8895 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000699/0.2446, allocations: 1.009 MB / 0.8905 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001608/0.2448, allocations: 55.31 kB / 0.8905 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of SimCode: time 4.61e-07/0.2448, allocations: 0 / 0.8905 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of Templates: time 0.02638/0.2712, allocations: 20.74 MB / 0.9108 GB, free: 7.238 MB / 0.6544 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.011557688936591] Failed to read output from testmodel.py, exit status != 0: 0.27875646599568427 0.29460225799999995 0.10703762399999994 Calling exit ...