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.0008948/0.0008948, 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.0009192/0.0009192, 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.9881/0.9881, allocations: 177.1 MB / 203.8 MB, free: 5.457 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.001675/0.001675, allocations: 242.6 kB / 260.5 MB, free: 12.68 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.7533/0.7533, allocations: 138.4 MB / 402.2 MB, free: 0.5547 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.703e-06/1.703e-06, allocations: 0 / 462.3 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.35e-05/2.521e-05, allocations: 5.312 kB / 462.3 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource): time 0.004347/0.004372, allocations: 2.739 MB / 465.1 MB, free: 15.17 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001806/0.006178, allocations: 1.061 MB / 466.1 MB, free: 14.48 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001644/0.006342, allocations: 8.625 kB / 466.1 MB, free: 14.47 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004847/0.006827, allocations: 103.7 kB / 466.2 MB, free: 14.41 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003277/0.007154, allocations: 142.5 kB / 466.4 MB, free: 14.33 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004129/0.007567, allocations: 135.8 kB / 466.5 MB, free: 14.26 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004118/0.007979, allocations: 343.4 kB / 466.8 MB, free: 14.09 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002833/0.008262, allocations: 207 kB / 467 MB, free: 13.91 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003139/0.008576, allocations: 208.2 kB / 467.3 MB, free: 13.71 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002304/0.008807, allocations: 130.1 kB / 467.4 MB, free: 13.59 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.013e-05/0.008837, allocations: 20.59 kB / 467.4 MB, free: 13.57 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001813/0.009018, allocations: 96.92 kB / 467.5 MB, free: 13.47 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 8.042e-05/0.009099, allocations: 87.73 kB / 467.6 MB, free: 13.39 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 7.626e-05/0.009175, allocations: 84.45 kB / 467.7 MB, free: 13.3 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003285/0.009503, allocations: 260.2 kB / 467.9 MB, free: 13.05 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.009508, allocations: 0 / 467.9 MB, free: 13.05 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.00951, allocations: 0 / 467.9 MB, free: 13.05 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.009515, allocations: 0.6562 kB / 467.9 MB, free: 13.05 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.0006147/0.01013, allocations: 443.4 kB / 468.3 MB, free: 12.6 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.01017, allocations: 13.5 kB / 468.4 MB, free: 12.59 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004896/0.01066, allocations: 122 kB / 468.5 MB, free: 12.47 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.0109, allocations: 187.8 kB / 468.7 MB, free: 12.26 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.01092, allocations: 12.88 kB / 468.7 MB, free: 12.25 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.01094, allocations: 25.66 kB / 468.7 MB, free: 12.23 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003242/0.01126, allocations: 302.2 kB / 469 MB, free: 11.89 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.01128, allocations: 192 / 469 MB, free: 11.89 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.01129, allocations: 8.375 kB / 469 MB, free: 11.88 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.001e-05/0.01132, allocations: 24.95 kB / 469 MB, free: 11.86 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.432e-05/0.01142, allocations: 64.75 kB / 469.1 MB, free: 11.8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000868/0.01229, allocations: 0.9214 MB / 470 MB, free: 10.83 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002145/0.0125, allocations: 85.89 kB / 470.1 MB, free: 10.73 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.823e-05/0.01253, allocations: 23.03 kB / 470.1 MB, free: 10.71 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.01254, allocations: 2.297 kB / 470.1 MB, free: 10.71 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.01257, allocations: 39.5 kB / 470.2 MB, free: 10.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 2.174e-06/0.01257, allocations: 7.938 kB / 470.2 MB, free: 10.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.000258/0.01283, allocations: 98.09 kB / 470.3 MB, free: 10.55 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/0.01286, allocations: 52.03 kB / 470.3 MB, free: 10.49 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.01299, allocations: 192.2 kB / 470.5 MB, free: 10.29 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.013, allocations: 25.7 kB / 470.5 MB, free: 10.26 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.321e-05/0.01309, allocations: 172.8 kB / 470.7 MB, free: 10.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.812e-05/0.0131, allocations: 31.73 kB / 470.7 MB, free: 10.05 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.918e-05/0.01315, allocations: 41.64 kB / 470.8 MB, free: 10.01 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.286e-05/0.01325, allocations: 323.5 kB / 471.1 MB, free: 9.684 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.35e-05/0.01327, allocations: 15.92 kB / 471.1 MB, free: 9.668 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.22e-05/0.01333, allocations: 82.45 kB / 471.2 MB, free: 9.559 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.01343, allocations: 111.4 kB / 471.3 MB, free: 9.422 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.01344, allocations: 7.938 kB / 471.3 MB, free: 9.414 MB / 426.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001833/0.01362, allocations: 132.2 kB / 471.4 MB, free: 9.277 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.01364, allocations: 4 kB / 471.4 MB, free: 9.273 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.01364, allocations: 4 kB / 471.4 MB, free: 9.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001705/0.01381, allocations: 42.78 kB / 471.5 MB, free: 9.227 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.539e-05/0.0139, allocations: 32.48 kB / 471.5 MB, free: 9.195 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007641/0.01466, allocations: 1.189 MB / 472.7 MB, free: 7.914 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.418e-05/0.01475, allocations: 19.88 kB / 472.7 MB, free: 7.895 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.01476, allocations: 8 kB / 472.7 MB, free: 7.887 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 8.94e-05/0.01485, allocations: 126.5 kB / 472.8 MB, free: 7.754 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.01487, allocations: 11.98 kB / 472.9 MB, free: 7.742 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.245e-05/0.0149, allocations: 18.08 kB / 472.9 MB, free: 7.727 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.0149, allocations: 0 / 472.9 MB, free: 7.727 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.0149, allocations: 3.938 kB / 472.9 MB, free: 7.723 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.01491, allocations: 9.266 kB / 472.9 MB, free: 7.715 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002967/0.0152, allocations: 274.3 kB / 473.2 MB, free: 7.418 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.01521, allocations: 0 / 473.2 MB, free: 7.418 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.651e-05/0.01524, allocations: 12.62 kB / 473.2 MB, free: 7.406 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001103/0.01535, allocations: 40.08 kB / 473.2 MB, free: 7.367 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.01536, allocations: 8 kB / 473.2 MB, free: 7.359 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000646/0.016, allocations: 1.186 MB / 474.4 MB, free: 6.078 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.01601, allocations: 4 kB / 474.4 MB, free: 6.074 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001706/0.01618, allocations: 179.1 kB / 474.6 MB, free: 5.879 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.382e-05/0.01622, allocations: 19.91 kB / 474.6 MB, free: 5.859 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.01624, allocations: 4.859 kB / 474.6 MB, free: 5.855 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.74e-05/0.01633, allocations: 4.812 kB / 474.6 MB, free: 5.852 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.465e-05/0.01637, allocations: 11.98 kB / 474.6 MB, free: 5.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.01638, allocations: 1.188 kB / 474.6 MB, free: 5.84 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.901e-05/0.01645, allocations: 56 kB / 474.7 MB, free: 5.785 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01645, allocations: 0 / 474.7 MB, free: 5.785 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003411/0.01679, allocations: 59.83 kB / 474.7 MB, free: 5.727 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 0.0001342/0.01692, allocations: 89.66 kB / 474.8 MB, free: 5.629 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003478/0.01727, allocations: 181.6 kB / 475 MB, free: 5.441 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.415e-06/0.01728, allocations: 4 kB / 475 MB, free: 5.438 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.01742, allocations: 144 kB / 475.1 MB, free: 5.281 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.01771, allocations: 40.19 kB / 475.2 MB, free: 5.25 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009723/0.01868, allocations: 394.5 kB / 475.6 MB, free: 4.848 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.308e-05/0.01876, allocations: 91.95 kB / 475.7 MB, free: 4.738 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.544e-05/0.01884, allocations: 21.62 kB / 475.7 MB, free: 4.719 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.01896, allocations: 75.36 kB / 475.8 MB, free: 4.645 MB / 426.7 MB Notification: Performance of SimCode: time 1.042e-06/0.01896, allocations: 0 / 475.8 MB, free: 4.645 MB / 426.7 MB Notification: Performance of Templates: time 0.004465/0.02343, allocations: 1.991 MB / 477.7 MB, free: 2.816 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5601722430437803]