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.001347/0.001347, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001564/0.001564, allocations: 219.4 kB / 23.01 MB, free: 4.605 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.422/1.422, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.002526/0.002526, allocations: 284.7 kB / 313.5 MB, free: 2.852 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.183/1.183, allocations: 180.6 MB / 0.5377 GB, free: 13 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.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: 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.00285/0.00285, allocations: 95.77 kB / 0.7408 GB, free: 27.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1783, allocations: 95.39 MB / 0.8339 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource): time 0.005508/0.1838, allocations: 3.342 MB / 0.8372 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002633/0.1864, allocations: 1.48 MB / 0.8386 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00023/0.1866, allocations: 7.938 kB / 0.8387 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001084/0.1877, allocations: 366.5 kB / 0.839 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004424/0.1882, allocations: 147.2 kB / 0.8391 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004571/0.1886, allocations: 166.3 kB / 0.8393 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005195/0.1891, allocations: 330.9 kB / 0.8396 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004329/0.1896, allocations: 200 kB / 0.8398 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003142/0.1899, allocations: 143.5 kB / 0.8399 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000336/0.1902, allocations: 159.4 kB / 0.8401 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.716e-05/0.1903, allocations: 20 kB / 0.8401 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003473/0.1906, allocations: 179.6 kB / 0.8403 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.1907, allocations: 79.8 kB / 0.8404 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001414/0.1909, allocations: 127.4 kB / 0.8405 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005509/0.1914, allocations: 366.6 kB / 0.8408 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1914, allocations: 0 / 0.8408 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1914, allocations: 4 kB / 0.8408 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.889e-06/0.1914, allocations: 3.938 kB / 0.8408 GB, free: 1.094 MB / 0.5762 GB 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.0009858/0.1924, allocations: 482.2 kB / 0.8413 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.1925, allocations: 13.34 kB / 0.8413 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006926/0.1932, allocations: 88.7 kB / 0.8414 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003465/0.1935, allocations: 203.5 kB / 0.8416 GB, free: 272 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.1935, allocations: 16.81 kB / 0.8416 GB, free: 256 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.138e-05/0.1936, allocations: 16.38 kB / 0.8416 GB, free: 240 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005407/0.1941, allocations: 324.6 kB / 0.8419 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.1941, allocations: 3.938 kB / 0.8419 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.831e-05/0.1941, allocations: 7.984 kB / 0.8419 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-05/0.1942, allocations: 16.44 kB / 0.842 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003936/0.1946, allocations: 217.5 kB / 0.8422 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00171/0.1963, allocations: 1.463 MB / 0.8436 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003914/0.1967, allocations: 114.6 kB / 0.8437 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.1968, allocations: 36.84 kB / 0.8437 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.1968, allocations: 11.92 kB / 0.8438 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.1968, allocations: 34.56 kB / 0.8438 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.153e-06/0.1968, allocations: 0 / 0.8438 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0005346/0.1974, allocations: 186.3 kB / 0.844 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.1974, allocations: 55.41 kB / 0.844 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.1976, allocations: 208 kB / 0.8442 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.1976, allocations: 29.7 kB / 0.8442 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.1977, allocations: 183.9 kB / 0.8444 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.1978, allocations: 27.75 kB / 0.8444 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.181e-05/0.1978, allocations: 33.7 kB / 0.8445 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.198, allocations: 330.8 kB / 0.8448 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.1981, allocations: 43.97 kB / 0.8448 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.1982, allocations: 115.2 kB / 0.8449 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002392/0.1985, allocations: 164.4 kB / 0.8451 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1985, allocations: 4 kB / 0.8451 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003919/0.1989, allocations: 222.1 kB / 0.8453 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.1989, allocations: 8 kB / 0.8453 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.1989, allocations: 0 / 0.8453 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001761/0.1991, allocations: 32.88 kB / 0.8454 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.1992, allocations: 40.08 kB / 0.8454 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001154/0.2003, allocations: 1.322 MB / 0.8467 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/0.2005, allocations: 27.78 kB / 0.8467 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.2005, allocations: 8 kB / 0.8467 GB, free: 10.57 MB / 0.5919 GB 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 0.0001683/0.2007, allocations: 150.4 kB / 0.8469 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.651e-05/0.2007, allocations: 19.89 kB / 0.8469 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.545e-05/0.2008, allocations: 17.41 kB / 0.8469 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.2008, allocations: 0 / 0.8469 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.594e-06/0.2008, allocations: 4.062 kB / 0.8469 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.2008, allocations: 0 / 0.8469 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000634/0.2014, allocations: 458.3 kB / 0.8473 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2014, allocations: 0 / 0.8473 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.44e-05/0.2015, allocations: 8 kB / 0.8473 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.193e-05/0.2016, allocations: 24.84 kB / 0.8474 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.2016, allocations: 0 / 0.8474 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001084/0.2026, allocations: 1.335 MB / 0.8487 GB, free: 8.391 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2026, allocations: 0 / 0.8487 GB, free: 8.391 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003074/0.203, allocations: 244.1 kB / 0.8489 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.389e-05/0.203, allocations: 27.83 kB / 0.8489 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.203, allocations: 4 kB / 0.8489 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.2032, allocations: 8.062 kB / 0.8489 GB, free: 8.094 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.332e-05/0.2032, allocations: 7.984 kB / 0.849 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.2032, allocations: 8 kB / 0.849 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001415/0.2034, allocations: 151.3 kB / 0.8491 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.2034, allocations: 0 / 0.8491 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000333/0.2037, allocations: 63.78 kB / 0.8492 GB, free: 7.867 MB / 0.5919 GB 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 0.0001131/0.2038, allocations: 95.25 kB / 0.8493 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004339/0.2042, allocations: 226.5 kB / 0.8495 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2042, allocations: 0 / 0.8495 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002203/0.2045, allocations: 154.7 kB / 0.8496 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.2048, allocations: 41.23 kB / 0.8497 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007372/0.2056, allocations: 446.2 kB / 0.8501 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003835/0.2059, allocations: 0.7554 MB / 0.8508 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.089e-05/0.206, allocations: 19.42 kB / 0.8508 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.206, allocations: 0 / 0.8508 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of Templates: time 0.007613/0.2136, allocations: 3.269 MB / 0.854 GB, free: 2.797 MB / 0.5919 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.936101465020329] Failed to read output from testmodel.py, exit status != 0: 0.22255913983099163 0.24537777100000002 0.049607697000000006 Calling exit ...