Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.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.00184/0.00184, allocations: 104.3 kB / 19.72 MB, free: 416 kB / 13.93 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.002131/0.002131, allocations: 212.9 kB / 23.02 MB, free: 2.957 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 1.666/1.666, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.465/3.465, allocations: 0.5045 GB / 0.8104 GB, free: 2.801 MB / 0.6511 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.004063/0.004063, allocations: 75.83 kB / 1.177 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8721/0.8762, allocations: 180 MB / 1.353 GB, free: 1.609 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.005562/0.8817, allocations: 3.005 MB / 1.356 GB, free: 14.59 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.003767/0.8855, allocations: 1.854 MB / 1.358 GB, free: 12.73 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001676/0.8857, allocations: 7.938 kB / 1.358 GB, free: 12.72 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0009371/0.8866, allocations: 235 kB / 1.358 GB, free: 12.49 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005835/0.8872, allocations: 222.9 kB / 1.358 GB, free: 12.27 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00069/0.8879, allocations: 259.3 kB / 1.358 GB, free: 12.02 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0005478/0.8884, allocations: 406.5 kB / 1.359 GB, free: 11.62 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003849/0.8888, allocations: 166.1 kB / 1.359 GB, free: 11.45 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003411/0.8891, allocations: 187.3 kB / 1.359 GB, free: 11.27 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003644/0.8895, allocations: 179.3 kB / 1.359 GB, free: 11.09 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 6.105e-05/0.8896, allocations: 28 kB / 1.359 GB, free: 11.07 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004968/0.8901, allocations: 267.5 kB / 1.36 GB, free: 10.8 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001402/0.8902, allocations: 99.7 kB / 1.36 GB, free: 10.71 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001705/0.8904, allocations: 119.4 kB / 1.36 GB, free: 10.59 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007443/0.8911, allocations: 0.501 MB / 1.36 GB, free: 10.09 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.8911, allocations: 4 kB / 1.36 GB, free: 10.09 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.413e-06/0.8911, allocations: 0 / 1.36 GB, free: 10.09 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.8911, allocations: 0 / 1.36 GB, free: 10.09 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.00136/0.8925, allocations: 0.5884 MB / 1.361 GB, free: 9.461 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.8925, allocations: 8.922 kB / 1.361 GB, free: 9.453 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009845/0.8935, allocations: 132.6 kB / 1.361 GB, free: 9.324 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004372/0.894, allocations: 237.7 kB / 1.361 GB, free: 9.066 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.894, allocations: 16.81 kB / 1.361 GB, free: 9.051 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.108e-05/0.894, allocations: 16.38 kB / 1.361 GB, free: 9.035 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009526/0.895, allocations: 464.1 kB / 1.362 GB, free: 8.551 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.895, allocations: 0 / 1.362 GB, free: 8.551 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.853e-05/0.895, allocations: 12 kB / 1.362 GB, free: 8.539 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.783e-05/0.8951, allocations: 28.3 kB / 1.362 GB, free: 8.508 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.8961, allocations: 400.8 kB / 1.362 GB, free: 8.117 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002296/0.8984, allocations: 1.272 MB / 1.363 GB, free: 6.793 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/0.8999, allocations: 449 kB / 1.364 GB, free: 6.336 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004981/0.9004, allocations: 197.4 kB / 1.364 GB, free: 6.137 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001366/0.9005, allocations: 11.98 kB / 1.364 GB, free: 6.125 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007042/0.9012, allocations: 305.1 kB / 1.364 GB, free: 5.801 MB / 1.042 GB Notification: Performance of pre-optimization done (n=27): time 1.724e-06/0.9012, allocations: 0 / 1.364 GB, free: 5.801 MB / 1.042 GB Notification: Performance of matching and sorting (n=28): time 0.002131/0.9033, allocations: 0.6988 MB / 1.365 GB, free: 5.094 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.801e-05/0.9034, allocations: 81.11 kB / 1.365 GB, free: 4.996 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002761/0.9037, allocations: 228.8 kB / 1.365 GB, free: 4.762 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 4.216e-05/0.9037, allocations: 37.64 kB / 1.365 GB, free: 4.719 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.9039, allocations: 160.7 kB / 1.365 GB, free: 4.559 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.904, allocations: 99.16 kB / 1.365 GB, free: 4.461 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/0.9041, allocations: 65.69 kB / 1.366 GB, free: 4.391 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001899/0.9043, allocations: 334.8 kB / 1.366 GB, free: 4.055 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005317/0.9048, allocations: 218.8 kB / 1.366 GB, free: 3.832 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005644/0.9054, allocations: 283 kB / 1.366 GB, free: 3.52 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.9065, allocations: 480.7 kB / 1.367 GB, free: 3.016 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.9065, allocations: 4 kB / 1.367 GB, free: 3.012 MB / 1.042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001356/0.9078, allocations: 0.5885 MB / 1.367 GB, free: 2.402 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 4.702e-05/0.9079, allocations: 37.69 kB / 1.367 GB, free: 2.359 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.9079, allocations: 4 kB / 1.367 GB, free: 2.355 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002474/0.9081, allocations: 40.83 kB / 1.367 GB, free: 2.312 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000483/0.9086, allocations: 87.84 kB / 1.368 GB, free: 2.227 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001705/0.9103, allocations: 1.485 MB / 1.369 GB, free: 0.6367 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003885/0.9107, allocations: 51.83 kB / 1.369 GB, free: 0.5859 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.711e-05/0.9107, allocations: 19.94 kB / 1.369 GB, free: 0.5664 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006044/0.9113, allocations: 314 kB / 1.369 GB, free: 256 kB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006588/0.912, allocations: 283.3 kB / 1.37 GB, free: 15.94 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009943/0.913, allocations: 462.2 kB / 1.37 GB, free: 15.45 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.764e-06/0.913, allocations: 4 kB / 1.37 GB, free: 15.45 MB / 1.057 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.001281/0.9143, allocations: 0.5598 MB / 1.371 GB, free: 14.86 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 4.431e-05/0.9143, allocations: 45.62 kB / 1.371 GB, free: 14.81 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.756e-06/0.9143, allocations: 288 / 1.371 GB, free: 14.81 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001473/0.9145, allocations: 40.83 kB / 1.371 GB, free: 14.77 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004569/0.9149, allocations: 92.03 kB / 1.371 GB, free: 14.68 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001564/0.9165, allocations: 1.473 MB / 1.372 GB, free: 13.09 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003565/0.9168, allocations: 51.91 kB / 1.372 GB, free: 13.04 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.192e-05/0.9169, allocations: 11.98 kB / 1.372 GB, free: 13.03 MB / 1.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 (load.count,$PRE.load.count,load.T_start,$PRE.load.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002028/0.9171, allocations: 204.1 kB / 1.372 GB, free: 12.82 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.584e-05/0.9171, allocations: 23.86 kB / 1.372 GB, free: 12.8 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001236/0.9184, allocations: 482 kB / 1.373 GB, free: 12.32 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.9184, allocations: 4.078 kB / 1.373 GB, free: 12.31 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.9184, allocations: 7.938 kB / 1.373 GB, free: 12.3 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.896e-06/0.9184, allocations: 7.969 kB / 1.373 GB, free: 12.3 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006734/0.9191, allocations: 463.7 kB / 1.373 GB, free: 11.8 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.9191, allocations: 11.94 kB / 1.373 GB, free: 11.79 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004044/0.9195, allocations: 71.86 kB / 1.373 GB, free: 11.72 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001269/0.9196, allocations: 36.77 kB / 1.374 GB, free: 11.68 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.172e-05/0.9196, allocations: 11.98 kB / 1.374 GB, free: 11.67 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00141/0.921, allocations: 1.394 MB / 1.375 GB, free: 10.17 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.921, allocations: 4.031 kB / 1.375 GB, free: 10.17 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.9221, allocations: 0.5344 MB / 1.375 GB, free: 9.605 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.9223, allocations: 55.78 kB / 1.375 GB, free: 9.551 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.127e-05/0.9223, allocations: 16 kB / 1.375 GB, free: 9.535 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003184/0.9226, allocations: 31.95 kB / 1.376 GB, free: 9.504 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.9228, allocations: 35.88 kB / 1.376 GB, free: 9.469 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.697e-05/0.9228, allocations: 12 kB / 1.376 GB, free: 9.457 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0002405/0.923, allocations: 180.5 kB / 1.376 GB, free: 9.285 MB / 1.057 GB Notification: Performance of sort global known variables: time 6.1e-08/0.923, allocations: 0 / 1.376 GB, free: 9.285 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0006047/0.9236, allocations: 128 kB / 1.376 GB, free: 9.16 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002071/0.9238, allocations: 123.2 kB / 1.376 GB, free: 9.031 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.002249/0.9261, allocations: 1.023 MB / 1.377 GB, free: 7.945 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.9261, allocations: 0 / 1.377 GB, free: 7.945 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0006309/0.9267, allocations: 315.4 kB / 1.377 GB, free: 7.625 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004517/0.9272, allocations: 43.11 kB / 1.377 GB, free: 7.586 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.9285, allocations: 0.6295 MB / 1.378 GB, free: 6.926 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002033/0.9287, allocations: 170.8 kB / 1.378 GB, free: 6.738 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0003146/0.929, allocations: 106.2 kB / 1.378 GB, free: 6.637 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.9291, allocations: 27.42 kB / 1.378 GB, free: 6.609 MB / 1.057 GB Notification: Performance of SimCode: time 4.91e-07/0.9291, allocations: 0 / 1.378 GB, free: 6.609 MB / 1.057 GB Notification: Performance of Templates: time 0.01196/0.9411, allocations: 5.408 MB / 1.384 GB, free: 1.266 MB / 1.057 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.sim & ./Buildings_13_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.28833853174001]