Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.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.0009719/0.0009719, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001328/0.0023, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001077/0.001077, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001389/0.002466, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9192/0.9192, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07923/0.9985, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001264/0.001264, allocations: 233.8 kB / 244.2 MB, free: 14.63 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009525/0.002217, allocations: 470.9 kB / 244.7 MB, free: 14.17 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6596/0.6596, allocations: 138.7 MB / 384.1 MB, free: 472 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06582/0.7254, allocations: 42.4 MB / 426.5 MB, free: 5.945 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource") translateModel(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 427.8 MB, free: 4.656 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.194e-05/1.322e-05, allocations: 6.312 kB / 427.8 MB, free: 4.648 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource): time 0.002743/0.002756, allocations: 2.775 MB / 430.5 MB, free: 1.855 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.003911, allocations: 1.083 MB / 431.6 MB, free: 0.7656 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.548e-05/0.004006, allocations: 7.938 kB / 431.6 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003143/0.004321, allocations: 115.4 kB / 431.7 MB, free: 0.6445 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001857/0.004506, allocations: 167 kB / 431.9 MB, free: 492 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.004701, allocations: 131.6 kB / 432 MB, free: 360 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1845/0.1892, allocations: 368.9 kB / 432.4 MB, free: 1.227 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003684/0.1896, allocations: 187.9 kB / 432.6 MB, free: 1.219 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003697/0.1899, allocations: 231.8 kB / 432.8 MB, free: 1.219 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002452/0.1902, allocations: 144.2 kB / 432.9 MB, free: 1.219 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.725e-05/0.1902, allocations: 21.56 kB / 433 MB, free: 1.219 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001967/0.1904, allocations: 102.5 kB / 433.1 MB, free: 1.219 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.494e-05/0.1905, allocations: 81.64 kB / 433.1 MB, free: 1.219 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.331e-05/0.1905, allocations: 69.89 kB / 433.2 MB, free: 1.219 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00027/0.1908, allocations: 225.4 kB / 433.4 MB, free: 1.211 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.832e-05/0.1908, allocations: 3.875 kB / 433.4 MB, free: 1.211 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1908, allocations: 0 / 433.4 MB, free: 1.211 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.78e-05/0.1908, allocations: 0 / 433.4 MB, free: 1.211 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0005676/0.1914, allocations: 0.4933 MB / 433.9 MB, free: 16.91 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.539e-05/0.1914, allocations: 9.219 kB / 433.9 MB, free: 16.91 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004101/0.1918, allocations: 199.6 kB / 434.1 MB, free: 16.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.192, allocations: 184.7 kB / 434.3 MB, free: 16.66 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.192, allocations: 17.47 kB / 434.3 MB, free: 16.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.192, allocations: 21.7 kB / 434.4 MB, free: 16.66 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004707/0.1925, allocations: 295.9 kB / 434.6 MB, free: 16.47 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.1925, allocations: 3.469 kB / 434.6 MB, free: 16.47 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.1925, allocations: 10.66 kB / 434.7 MB, free: 16.47 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.589e-05/0.1926, allocations: 23.41 kB / 434.7 MB, free: 16.46 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.851e-05/0.1927, allocations: 64.3 kB / 434.7 MB, free: 16.46 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006817/0.1933, allocations: 0.9362 MB / 435.7 MB, free: 15.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.1935, allocations: 80.06 kB / 435.8 MB, free: 15.77 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.237e-05/0.1935, allocations: 21.38 kB / 435.8 MB, free: 15.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.1936, allocations: 2.594 kB / 435.8 MB, free: 15.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/0.1936, allocations: 36.59 kB / 435.8 MB, free: 15.72 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.1936, allocations: 0 / 435.8 MB, free: 15.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.000223/0.1938, allocations: 107.7 kB / 435.9 MB, free: 15.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.974e-05/0.1938, allocations: 52.56 kB / 436 MB, free: 15.62 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.1939, allocations: 187.1 kB / 436.2 MB, free: 15.51 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.1939, allocations: 26.8 kB / 436.2 MB, free: 15.48 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.438e-05/0.194, allocations: 174.1 kB / 436.3 MB, free: 15.34 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.879e-05/0.194, allocations: 32.86 kB / 436.4 MB, free: 15.32 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-05/0.1941, allocations: 38.3 kB / 436.4 MB, free: 15.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.28e-05/0.1941, allocations: 330.4 kB / 436.7 MB, free: 14.99 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.165e-05/0.1942, allocations: 16.5 kB / 436.8 MB, free: 14.99 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.104e-05/0.1942, allocations: 76.16 kB / 436.8 MB, free: 14.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.492e-05/0.1943, allocations: 119 kB / 436.9 MB, free: 14.83 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1943, allocations: 0 / 436.9 MB, free: 14.83 MB / 426.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000158/0.1944, allocations: 137.8 kB / 437.1 MB, free: 14.78 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.1945, allocations: 7.188 kB / 437.1 MB, free: 14.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1945, allocations: 3.141 kB / 437.1 MB, free: 14.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001495/0.1946, allocations: 37.2 kB / 437.1 MB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.755e-05/0.1947, allocations: 32.55 kB / 437.2 MB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005755/0.1953, allocations: 1.197 MB / 438.4 MB, free: 13.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.749e-05/0.1953, allocations: 20.12 kB / 438.4 MB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.1954, allocations: 5.938 kB / 438.4 MB, free: 13.59 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.986e-05/0.1954, allocations: 124.8 kB / 438.5 MB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.428e-05/0.1954, allocations: 14.2 kB / 438.5 MB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.695e-05/0.1955, allocations: 19.3 kB / 438.5 MB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.1955, allocations: 1.375 kB / 438.5 MB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.1955, allocations: 1.469 kB / 438.5 MB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1955, allocations: 5.484 kB / 438.5 MB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002504/0.1957, allocations: 275 kB / 438.8 MB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1957, allocations: 1.281 kB / 438.8 MB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.41e-05/0.1958, allocations: 12.59 kB / 438.8 MB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.554e-05/0.1958, allocations: 20.3 kB / 438.8 MB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.277e-05/0.1959, allocations: 37.95 kB / 438.9 MB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.1959, allocations: 1.719 kB / 438.9 MB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005202/0.1964, allocations: 1.194 MB / 440.1 MB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.1964, allocations: 5.266 kB / 440.1 MB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001241/0.1965, allocations: 181.6 kB / 440.3 MB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.1965, allocations: 1.5 kB / 440.3 MB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.599e-05/0.1966, allocations: 8.234 kB / 440.3 MB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.1966, allocations: 9.609 kB / 440.3 MB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.1966, allocations: 2 kB / 440.3 MB, free: 11.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.602e-05/0.1967, allocations: 52.94 kB / 440.3 MB, free: 11.92 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1967, allocations: 0 / 440.3 MB, free: 11.92 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001864/0.1969, allocations: 57.08 kB / 440.4 MB, free: 11.91 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.026e-05/0.1969, allocations: 83.95 kB / 440.5 MB, free: 11.84 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002135/0.1972, allocations: 190.2 kB / 440.7 MB, free: 11.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.1972, allocations: 3.25 kB / 440.7 MB, free: 11.71 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.09e-05/0.1973, allocations: 149.7 kB / 440.8 MB, free: 11.59 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/0.1975, allocations: 48.03 kB / 440.9 MB, free: 11.59 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001777/0.1992, allocations: 404.2 kB / 441.2 MB, free: 11.37 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.553e-05/0.1993, allocations: 94.5 kB / 441.3 MB, free: 11.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.574e-05/0.1994, allocations: 15.7 kB / 441.4 MB, free: 11.29 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.102e-05/0.1994, allocations: 80.92 kB / 441.4 MB, free: 11.25 MB / 426.7 MB Notification: Performance of SimCode: time 6.82e-07/0.1994, allocations: 4.938 kB / 441.4 MB, free: 11.25 MB / 426.7 MB Notification: Performance of Templates: time 0.004065/0.2035, allocations: 2.065 MB / 443.5 MB, free: 11.17 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.353372768498957]