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.0008927/0.0008927, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009994/0.0009994, allocations: 177 kB / 23.36 MB, free: 1.129 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.9218/0.9218, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.001593/0.001593, allocations: 245.8 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.6967/0.6967, allocations: 138.4 MB / 402.2 MB, free: 0.5664 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.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.112e-06/1.112e-06, allocations: 0 / 462.3 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.146e-05/1.257e-05, allocations: 6.891 kB / 462.3 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource): time 0.003084/0.003096, allocations: 2.692 MB / 465 MB, free: 15.24 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001581/0.004677, allocations: 1.063 MB / 466 MB, free: 14.55 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.004794, allocations: 9.594 kB / 466.1 MB, free: 14.54 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003423/0.005136, allocations: 104.9 kB / 466.2 MB, free: 14.48 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002675/0.005404, allocations: 143.5 kB / 466.3 MB, free: 14.4 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002974/0.005701, allocations: 136 kB / 466.4 MB, free: 14.33 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003569/0.006058, allocations: 344.3 kB / 466.8 MB, free: 14.17 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002468/0.006305, allocations: 211.1 kB / 467 MB, free: 14.02 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002563/0.006561, allocations: 192.1 kB / 467.2 MB, free: 13.83 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002029/0.006764, allocations: 142.7 kB / 467.3 MB, free: 13.7 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.00679, allocations: 20.97 kB / 467.3 MB, free: 13.68 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001418/0.006932, allocations: 87.8 kB / 467.4 MB, free: 13.59 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 7.001e-05/0.007002, allocations: 91.73 kB / 467.5 MB, free: 13.5 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 7.226e-05/0.007074, allocations: 85 kB / 467.6 MB, free: 13.42 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002596/0.007333, allocations: 256.4 kB / 467.8 MB, free: 13.17 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.007335, allocations: 0 / 467.8 MB, free: 13.17 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.007335, allocations: 6.062 kB / 467.8 MB, free: 13.16 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.007339, allocations: 0 / 467.8 MB, free: 13.16 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0004592/0.007799, allocations: 442.7 kB / 468.3 MB, free: 12.71 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.598e-05/0.007825, allocations: 13.62 kB / 468.3 MB, free: 12.7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003821/0.008207, allocations: 117.8 kB / 468.4 MB, free: 12.59 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/0.00839, allocations: 195.4 kB / 468.6 MB, free: 12.37 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.008402, allocations: 12.88 kB / 468.6 MB, free: 12.36 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.008426, allocations: 23.09 kB / 468.6 MB, free: 12.34 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000236/0.008662, allocations: 298.3 kB / 468.9 MB, free: 12.01 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.00867, allocations: 1.812 kB / 468.9 MB, free: 12.01 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.008686, allocations: 12.38 kB / 468.9 MB, free: 12 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.464e-05/0.00871, allocations: 20.42 kB / 468.9 MB, free: 11.98 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.328e-05/0.008794, allocations: 65.09 kB / 469 MB, free: 11.91 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007461/0.00954, allocations: 0.9201 MB / 469.9 MB, free: 10.95 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.009728, allocations: 90.7 kB / 470 MB, free: 10.85 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.411e-05/0.009752, allocations: 17.42 kB / 470 MB, free: 10.83 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.004e-05/0.009762, allocations: 0.5938 kB / 470 MB, free: 10.83 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.009781, allocations: 38.5 kB / 470.1 MB, free: 10.78 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.009783, allocations: 4.844 kB / 470.1 MB, free: 10.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002038/0.009986, allocations: 114.9 kB / 470.2 MB, free: 10.66 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.902e-05/0.01001, allocations: 51.41 kB / 470.2 MB, free: 10.59 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.01011, allocations: 183.4 kB / 470.4 MB, free: 10.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.01012, allocations: 29.7 kB / 470.4 MB, free: 10.37 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.862e-05/0.01019, allocations: 174.2 kB / 470.6 MB, free: 10.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.0102, allocations: 31.73 kB / 470.6 MB, free: 10.16 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.226e-05/0.01025, allocations: 37.66 kB / 470.7 MB, free: 10.12 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.315e-05/0.01033, allocations: 326.8 kB / 471 MB, free: 9.793 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.923e-05/0.01035, allocations: 12.48 kB / 471 MB, free: 9.781 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.055e-05/0.0104, allocations: 82.59 kB / 471.1 MB, free: 9.672 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.355e-05/0.01049, allocations: 119.2 kB / 471.2 MB, free: 9.527 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.0105, allocations: 4.469 kB / 471.2 MB, free: 9.523 MB / 426.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001359/0.01063, allocations: 127.3 kB / 471.3 MB, free: 9.391 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.01064, allocations: 8 kB / 471.3 MB, free: 9.383 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.01065, allocations: 0.5625 kB / 471.3 MB, free: 9.383 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001409/0.01079, allocations: 41.88 kB / 471.4 MB, free: 9.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.184e-05/0.01087, allocations: 33.05 kB / 471.4 MB, free: 9.309 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005688/0.01144, allocations: 1.193 MB / 472.6 MB, free: 8.027 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.64e-05/0.0115, allocations: 20.62 kB / 472.6 MB, free: 8.008 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.01151, allocations: 8 kB / 472.6 MB, free: 8 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 7.064e-05/0.01158, allocations: 130 kB / 472.8 MB, free: 7.863 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.117e-05/0.0116, allocations: 11.98 kB / 472.8 MB, free: 7.852 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.6e-05/0.01162, allocations: 18.56 kB / 472.8 MB, free: 7.836 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.01162, allocations: 0 / 472.8 MB, free: 7.836 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.01162, allocations: 3.938 kB / 472.8 MB, free: 7.832 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.01163, allocations: 0.7188 kB / 472.8 MB, free: 7.832 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002396/0.01187, allocations: 274.4 kB / 473.1 MB, free: 7.535 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01187, allocations: 0.9062 kB / 473.1 MB, free: 7.535 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.054e-05/0.0119, allocations: 11.94 kB / 473.1 MB, free: 7.523 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.748e-05/0.01199, allocations: 41.38 kB / 473.1 MB, free: 7.48 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-06/0.01199, allocations: 0.7812 kB / 473.1 MB, free: 7.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005036/0.01249, allocations: 1.189 MB / 474.3 MB, free: 6.195 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.01249, allocations: 2.656 kB / 474.3 MB, free: 6.195 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00011/0.0126, allocations: 182 kB / 474.5 MB, free: 5.996 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.554e-05/0.01263, allocations: 15.91 kB / 474.5 MB, free: 5.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.014e-05/0.01264, allocations: 3.938 kB / 474.5 MB, free: 5.977 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.662e-05/0.0127, allocations: 15.92 kB / 474.5 MB, free: 5.961 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.309e-05/0.01272, allocations: 7.984 kB / 474.5 MB, free: 5.953 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.01272, allocations: 1.625 kB / 474.5 MB, free: 5.953 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.151e-05/0.01277, allocations: 59.98 kB / 474.6 MB, free: 5.895 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01277, allocations: 0 / 474.6 MB, free: 5.895 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000182/0.01295, allocations: 60.61 kB / 474.7 MB, free: 5.836 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 6.742e-05/0.01302, allocations: 81.55 kB / 474.7 MB, free: 5.746 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002125/0.01323, allocations: 193.5 kB / 474.9 MB, free: 5.547 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.01323, allocations: 0 / 474.9 MB, free: 5.547 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.286e-05/0.01331, allocations: 138.3 kB / 475.1 MB, free: 5.398 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001662/0.01348, allocations: 32.84 kB / 475.1 MB, free: 5.371 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005789/0.01406, allocations: 396.3 kB / 475.5 MB, free: 4.965 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.016e-05/0.01411, allocations: 91.95 kB / 475.6 MB, free: 4.855 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.515e-05/0.01417, allocations: 14.89 kB / 475.6 MB, free: 4.844 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.921e-05/0.01424, allocations: 80.05 kB / 475.7 MB, free: 4.766 MB / 426.7 MB Notification: Performance of SimCode: time 3.2e-07/0.01424, allocations: 1.062 kB / 475.7 MB, free: 4.766 MB / 426.7 MB Notification: Performance of Templates: time 0.003508/0.01775, allocations: 1.993 MB / 477.7 MB, free: 2.93 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.433302261866629]