Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.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.001299/0.001299, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001467/0.001467, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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 0.9351/0.9351, allocations: 177.1 MB / 203.8 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] 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.001598/0.001598, allocations: 241.5 kB / 260.5 MB, free: 12.69 MB / 250.7 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 0.6818/0.6818, allocations: 138.4 MB / 402.2 MB, free: 0.5391 MB / 362.7 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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0.75 kB / 462.3 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.426e-06/9.789e-06, allocations: 2.312 kB / 462.3 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.003502/0.003511, allocations: 4.069 MB / 466.4 MB, free: 14.33 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002173/0.005685, allocations: 1.564 MB / 467.9 MB, free: 12.99 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002134/0.005898, allocations: 44.56 kB / 468 MB, free: 12.95 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004392/0.006337, allocations: 186.6 kB / 468.2 MB, free: 12.76 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005281/0.006865, allocations: 422.7 kB / 468.6 MB, free: 12.35 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005781/0.007444, allocations: 356.5 kB / 468.9 MB, free: 12 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007845/0.008228, allocations: 1.127 MB / 470.1 MB, free: 10.88 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005292/0.008757, allocations: 0.5579 MB / 470.6 MB, free: 10.32 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005513/0.009309, allocations: 0.6078 MB / 471.2 MB, free: 9.711 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004033/0.009712, allocations: 434.3 kB / 471.7 MB, free: 9.289 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 5.739e-05/0.009769, allocations: 61.53 kB / 471.7 MB, free: 9.23 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001685/0.009938, allocations: 143.7 kB / 471.9 MB, free: 9.09 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001733/0.01011, allocations: 299.2 kB / 472.1 MB, free: 8.797 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001739/0.01029, allocations: 271.3 kB / 472.4 MB, free: 8.531 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006947/0.01098, allocations: 0.6624 MB / 473.1 MB, free: 7.867 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.513e-06/0.01098, allocations: 0 / 473.1 MB, free: 7.867 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.01098, allocations: 2.219 kB / 473.1 MB, free: 7.867 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.01099, allocations: 0 / 473.1 MB, free: 7.867 MB / 426.7 MB 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.0007615/0.01175, allocations: 0.9076 MB / 474 MB, free: 6.941 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.689e-05/0.01178, allocations: 14 kB / 474 MB, free: 6.93 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006544/0.01243, allocations: 264.2 kB / 474.3 MB, free: 6.672 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004849/0.01292, allocations: 0.4995 MB / 474.8 MB, free: 6.156 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.01294, allocations: 49.67 kB / 474.8 MB, free: 6.109 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.645e-05/0.01301, allocations: 65.36 kB / 474.9 MB, free: 6.047 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005404/0.01355, allocations: 0.7826 MB / 475.6 MB, free: 5.129 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.01357, allocations: 16.02 kB / 475.7 MB, free: 5.113 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.695e-05/0.01361, allocations: 29.36 kB / 475.7 MB, free: 5.086 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.916e-05/0.01367, allocations: 73.2 kB / 475.8 MB, free: 5.016 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000253/0.01392, allocations: 252.8 kB / 476 MB, free: 4.77 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002304/0.01622, allocations: 3.868 MB / 479.9 MB, free: 0.7656 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002897/0.01651, allocations: 249.4 kB / 480.1 MB, free: 0.5156 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002777/0.01679, allocations: 223.7 kB / 480.3 MB, free: 308 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.01681, allocations: 4 kB / 480.3 MB, free: 304 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.01683, allocations: 39.31 kB / 480.4 MB, free: 256 kB / 426.7 MB Notification: Performance of pre-optimization done (n=41): time 1.443e-06/0.01684, allocations: 0.875 kB / 480.4 MB, free: 256 kB / 426.7 MB Notification: Performance of matching and sorting (n=42): time 0.001491/0.01833, allocations: 0.8762 MB / 481.3 MB, free: 15.37 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.09e-05/0.01835, allocations: 60.69 kB / 481.3 MB, free: 15.3 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002081/0.01856, allocations: 407 kB / 481.7 MB, free: 14.89 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.01858, allocations: 33.7 kB / 481.7 MB, free: 14.85 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.0187, allocations: 362.3 kB / 482.1 MB, free: 14.49 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.152e-05/0.01877, allocations: 154.7 kB / 482.3 MB, free: 14.34 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.373e-05/0.01887, allocations: 102.2 kB / 482.4 MB, free: 14.23 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.335e-05/0.01895, allocations: 370.6 kB / 482.7 MB, free: 13.86 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.598e-05/0.01903, allocations: 66.44 kB / 482.8 MB, free: 13.8 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001598/0.01919, allocations: 281 kB / 483.1 MB, free: 13.43 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002923/0.01948, allocations: 422.1 kB / 483.5 MB, free: 12.93 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.01948, allocations: 6.188 kB / 483.5 MB, free: 12.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006159/0.0201, allocations: 0.5649 MB / 484 MB, free: 12.35 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.02011, allocations: 8 kB / 484 MB, free: 12.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.02012, allocations: 9.75 kB / 484.1 MB, free: 12.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004921/0.02061, allocations: 248.4 kB / 484.3 MB, free: 12.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.02076, allocations: 80.88 kB / 484.4 MB, free: 12.01 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002951/0.02371, allocations: 5.41 MB / 489.8 MB, free: 6.234 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.02386, allocations: 23.94 kB / 489.8 MB, free: 6.211 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.296e-05/0.02388, allocations: 27.38 kB / 489.8 MB, free: 6.188 MB / 442.7 MB 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.0001165/0.024, allocations: 146.4 kB / 490 MB, free: 6.035 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.459e-05/0.02405, allocations: 51.89 kB / 490 MB, free: 5.984 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005395/0.02459, allocations: 468.7 kB / 490.5 MB, free: 5.504 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.02459, allocations: 7.406 kB / 490.5 MB, free: 5.5 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.0246, allocations: 7.984 kB / 490.5 MB, free: 5.492 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.0246, allocations: 0 / 490.5 MB, free: 5.492 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008989/0.0255, allocations: 0.8801 MB / 491.4 MB, free: 4.559 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.0255, allocations: 1.469 kB / 491.4 MB, free: 4.559 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.143e-05/0.02557, allocations: 35.92 kB / 491.4 MB, free: 4.523 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004406/0.02601, allocations: 238.9 kB / 491.7 MB, free: 4.281 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.02603, allocations: 8 kB / 491.7 MB, free: 4.273 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002814/0.02884, allocations: 5.386 MB / 497 MB, free: 14.52 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.02885, allocations: 4 kB / 497.1 MB, free: 14.52 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005573/0.0294, allocations: 0.5936 MB / 497.6 MB, free: 13.88 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.945e-05/0.02949, allocations: 75.62 kB / 497.7 MB, free: 13.8 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.441e-05/0.02953, allocations: 11.95 kB / 497.7 MB, free: 13.79 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.02963, allocations: 13.44 kB / 497.7 MB, free: 13.78 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.769e-05/0.02969, allocations: 47.8 kB / 497.8 MB, free: 13.73 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.02971, allocations: 9 kB / 497.8 MB, free: 13.73 MB / 458.7 MB Notification: Performance of sorting global known variables: time 9.929e-05/0.02981, allocations: 168.4 kB / 498 MB, free: 13.56 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02981, allocations: 1.375 kB / 498 MB, free: 13.56 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004113/0.03022, allocations: 196 kB / 498.2 MB, free: 13.37 MB / 458.7 MB 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 8.861e-05/0.03031, allocations: 94.48 kB / 498.2 MB, free: 13.27 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0006838/0.03099, allocations: 0.8578 MB / 499.1 MB, free: 12.37 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.348e-06/0.031, allocations: 8.5 kB / 499.1 MB, free: 12.36 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004586/0.03146, allocations: 0.6991 MB / 499.8 MB, free: 11.61 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004444/0.0319, allocations: 201.5 kB / 0.4883 GB, free: 11.44 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.03326, allocations: 1.164 MB / 0.4894 GB, free: 10.23 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000122/0.03338, allocations: 209.7 kB / 0.4896 GB, free: 10.01 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001203/0.0335, allocations: 59.05 kB / 0.4897 GB, free: 9.957 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001985/0.0337, allocations: 165.2 kB / 0.4898 GB, free: 9.793 MB / 458.7 MB Notification: Performance of SimCode: time 5.71e-07/0.0337, allocations: 0 / 0.4898 GB, free: 9.793 MB / 458.7 MB Notification: Performance of Templates: time 0.0118/0.0455, allocations: 11.09 MB / 0.5007 GB, free: 15.13 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5450391210615635]