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.0007179/0.0007179, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00102/0.001738, allocations: 440 kB / 10.41 MB, free: 284 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.0007116/0.0007116, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009802/0.001692, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9591/0.9591, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08062/1.04, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.001255/0.001255, allocations: 245.9 kB / 244.4 MB, free: 14.52 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001044/0.002298, allocations: 471.7 kB / 244.8 MB, free: 14.06 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.6758/0.6758, allocations: 138.7 MB / 384.3 MB, free: 356 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09713/0.7729, allocations: 42.4 MB / 426.7 MB, free: 5.82 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.593e-06/1.593e-06, allocations: 0 / 428 MB, free: 4.508 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.1e-05/1.259e-05, allocations: 2.312 kB / 428 MB, free: 4.504 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource): time 0.003954/0.003966, allocations: 2.779 MB / 430.8 MB, free: 1.707 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001741/0.005707, allocations: 1.09 MB / 431.9 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.005816, allocations: 7.938 kB / 431.9 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00034/0.006156, allocations: 115.4 kB / 432 MB, free: 500 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002689/0.006425, allocations: 155 kB / 432.2 MB, free: 344 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003392/0.006765, allocations: 131.6 kB / 432.3 MB, free: 212 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.214/0.2208, allocations: 372.4 kB / 432.7 MB, free: 1.242 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003431/0.2211, allocations: 196.9 kB / 432.9 MB, free: 1.234 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003487/0.2215, allocations: 229.1 kB / 433.1 MB, free: 1.234 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002641/0.2217, allocations: 145 kB / 433.2 MB, free: 1.234 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.936e-05/0.2218, allocations: 21.56 kB / 433.2 MB, free: 1.234 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002079/0.222, allocations: 98.39 kB / 433.3 MB, free: 1.234 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.335e-05/0.222, allocations: 77.94 kB / 433.4 MB, free: 1.234 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.011e-05/0.2221, allocations: 67.36 kB / 433.5 MB, free: 1.234 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003473/0.2225, allocations: 231.1 kB / 433.7 MB, free: 1.215 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.458e-05/0.2225, allocations: 3.5 kB / 433.7 MB, free: 1.215 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.2225, allocations: 0 / 433.7 MB, free: 1.215 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.612e-05/0.2225, allocations: 1.438 kB / 433.7 MB, free: 1.215 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.0006675/0.2232, allocations: 0.5031 MB / 434.2 MB, free: 16.91 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.2232, allocations: 9.781 kB / 434.2 MB, free: 16.91 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004569/0.2237, allocations: 190.4 kB / 434.4 MB, free: 16.81 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001935/0.2238, allocations: 184.7 kB / 434.6 MB, free: 16.66 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.2239, allocations: 13.22 kB / 434.6 MB, free: 16.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.2239, allocations: 23.39 kB / 434.6 MB, free: 16.66 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002439/0.2241, allocations: 301.4 kB / 434.9 MB, free: 16.47 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.2241, allocations: 192 / 434.9 MB, free: 16.47 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.2242, allocations: 9.906 kB / 434.9 MB, free: 16.47 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.39e-05/0.2242, allocations: 26.91 kB / 435 MB, free: 16.46 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.702e-05/0.2243, allocations: 63.05 kB / 435 MB, free: 16.46 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000721/0.225, allocations: 0.9362 MB / 436 MB, free: 15.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.2252, allocations: 80.59 kB / 436 MB, free: 15.77 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.432e-05/0.2252, allocations: 19.16 kB / 436.1 MB, free: 15.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.2252, allocations: 2.641 kB / 436.1 MB, free: 15.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.2252, allocations: 40 kB / 436.1 MB, free: 15.72 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.2252, allocations: 0 / 436.1 MB, free: 15.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002345/0.2255, allocations: 102.4 kB / 436.2 MB, free: 15.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.28e-05/0.2255, allocations: 53.39 kB / 436.2 MB, free: 15.62 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.2256, allocations: 183.6 kB / 436.4 MB, free: 15.51 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.2256, allocations: 27.02 kB / 436.5 MB, free: 15.48 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.658e-05/0.2257, allocations: 181 kB / 436.6 MB, free: 15.34 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.2257, allocations: 32.69 kB / 436.7 MB, free: 15.32 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.392e-05/0.2257, allocations: 37.75 kB / 436.7 MB, free: 15.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.658e-05/0.2258, allocations: 327.5 kB / 437 MB, free: 14.99 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.186e-05/0.2258, allocations: 12.36 kB / 437 MB, free: 14.99 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.959e-05/0.2259, allocations: 82.06 kB / 437.1 MB, free: 14.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.417e-05/0.226, allocations: 123.5 kB / 437.2 MB, free: 14.83 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.226, allocations: 0 / 437.2 MB, free: 14.83 MB / 426.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001467/0.2261, allocations: 136.7 kB / 437.4 MB, free: 14.79 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.2261, allocations: 6.406 kB / 437.4 MB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.2261, allocations: 3 kB / 437.4 MB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001381/0.2263, allocations: 40.98 kB / 437.4 MB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.613e-05/0.2264, allocations: 36.33 kB / 437.5 MB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005272/0.2269, allocations: 1.196 MB / 438.6 MB, free: 13.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.277e-05/0.2269, allocations: 15.64 kB / 438.7 MB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.976e-06/0.2269, allocations: 8.094 kB / 438.7 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.561e-05/0.227, allocations: 125.2 kB / 438.8 MB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.277e-05/0.227, allocations: 10.94 kB / 438.8 MB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.809e-05/0.2271, allocations: 22.73 kB / 438.8 MB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.2271, allocations: 1.312 kB / 438.8 MB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.2271, allocations: 1.406 kB / 438.8 MB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.2271, allocations: 5.203 kB / 438.8 MB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.2273, allocations: 279.8 kB / 439.1 MB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.2273, allocations: 0 / 439.1 MB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.406e-05/0.2273, allocations: 12.09 kB / 439.1 MB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.631e-05/0.2274, allocations: 25.81 kB / 439.1 MB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.445e-05/0.2275, allocations: 34.48 kB / 439.2 MB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-06/0.2275, allocations: 0.9062 kB / 439.2 MB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004861/0.2279, allocations: 1.19 MB / 440.4 MB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.2279, allocations: 1.156 kB / 440.4 MB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.2281, allocations: 183.2 kB / 440.5 MB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.2281, allocations: 4.875 kB / 440.6 MB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.468e-05/0.2281, allocations: 5.016 kB / 440.6 MB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.677e-05/0.2281, allocations: 10.44 kB / 440.6 MB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.2282, allocations: 3.344 kB / 440.6 MB, free: 11.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.632e-05/0.2282, allocations: 61.77 kB / 440.6 MB, free: 11.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2282, allocations: 0 / 440.6 MB, free: 11.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001813/0.2284, allocations: 55.36 kB / 440.7 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.06e-05/0.2285, allocations: 79.81 kB / 440.8 MB, free: 11.84 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001984/0.2287, allocations: 190.1 kB / 440.9 MB, free: 11.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.2287, allocations: 3.438 kB / 441 MB, free: 11.71 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.669e-05/0.2288, allocations: 157.2 kB / 441.1 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.0002606/0.229, allocations: 268.1 kB / 441.4 MB, free: 11.33 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.2308, allocations: 395.3 kB / 441.8 MB, free: 11.11 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.624e-05/0.2308, allocations: 95.98 kB / 441.8 MB, free: 11.04 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.523e-05/0.2309, allocations: 16.7 kB / 441.9 MB, free: 11.03 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.783e-05/0.231, allocations: 77.98 kB / 441.9 MB, free: 10.98 MB / 426.7 MB Notification: Performance of SimCode: time 6.21e-07/0.231, allocations: 2.906 kB / 441.9 MB, free: 10.98 MB / 426.7 MB Notification: Performance of Templates: time 0.003875/0.2349, allocations: 2.055 MB / 444 MB, free: 10.9 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.564570571295917]