Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.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.001848/0.001848, allocations: 104.3 kB / 19.72 MB, free: 420 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.001986/0.001986, allocations: 220 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.725/1.725, allocations: 230.6 MB / 256.8 MB, free: 9.602 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.393/3.393, allocations: 0.5045 GB / 0.8104 GB, free: 2.781 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.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003874/0.003874, allocations: 75.83 kB / 1.177 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8909/0.8947, allocations: 180 MB / 1.353 GB, free: 1.609 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.006243/0.901, allocations: 3.539 MB / 1.356 GB, free: 14.06 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.003656/0.9046, allocations: 1.85 MB / 1.358 GB, free: 12.2 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001504/0.9048, allocations: 7.938 kB / 1.358 GB, free: 12.19 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0008598/0.9056, allocations: 239 kB / 1.358 GB, free: 11.96 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005225/0.9062, allocations: 215 kB / 1.359 GB, free: 11.75 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006611/0.9068, allocations: 264.3 kB / 1.359 GB, free: 11.49 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0005631/0.9074, allocations: 406.5 kB / 1.359 GB, free: 11.09 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004076/0.9078, allocations: 174 kB / 1.359 GB, free: 10.91 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003466/0.9081, allocations: 175.5 kB / 1.36 GB, free: 10.74 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003628/0.9085, allocations: 187.3 kB / 1.36 GB, free: 10.56 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 5.891e-05/0.9086, allocations: 28 kB / 1.36 GB, free: 10.53 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004865/0.9091, allocations: 263.5 kB / 1.36 GB, free: 10.27 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001494/0.9092, allocations: 99.7 kB / 1.36 GB, free: 10.18 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001735/0.9094, allocations: 127.4 kB / 1.36 GB, free: 10.05 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0008847/0.9103, allocations: 0.4932 MB / 1.361 GB, free: 9.559 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.9103, allocations: 4 kB / 1.361 GB, free: 9.555 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9103, allocations: 0 / 1.361 GB, free: 9.555 MB / 1.042 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.9103, allocations: 8 kB / 1.361 GB, free: 9.547 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.0013/0.9116, allocations: 0.5844 MB / 1.361 GB, free: 8.926 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.9116, allocations: 8.031 kB / 1.361 GB, free: 8.918 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/0.9126, allocations: 132.6 kB / 1.361 GB, free: 8.789 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004233/0.913, allocations: 237.8 kB / 1.362 GB, free: 8.531 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.9131, allocations: 12.81 kB / 1.362 GB, free: 8.52 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.876e-05/0.9131, allocations: 16.38 kB / 1.362 GB, free: 8.504 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009668/0.9141, allocations: 464.1 kB / 1.362 GB, free: 8.02 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.9141, allocations: 4 kB / 1.362 GB, free: 8.016 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.006e-05/0.9141, allocations: 11.98 kB / 1.362 GB, free: 8.004 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-05/0.9142, allocations: 28.34 kB / 1.362 GB, free: 7.973 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001016/0.9152, allocations: 396.7 kB / 1.363 GB, free: 7.586 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002017/0.9172, allocations: 1.279 MB / 1.364 GB, free: 6.254 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001366/0.9186, allocations: 453 kB / 1.364 GB, free: 5.793 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005004/0.9191, allocations: 185.4 kB / 1.364 GB, free: 5.605 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001265/0.9192, allocations: 20 kB / 1.364 GB, free: 5.586 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000689/0.9199, allocations: 305.1 kB / 1.365 GB, free: 5.262 MB / 1.042 GB Notification: Performance of pre-optimization done (n=27): time 1.834e-06/0.9199, allocations: 0 / 1.365 GB, free: 5.262 MB / 1.042 GB Notification: Performance of matching and sorting (n=28): time 0.002114/0.922, allocations: 0.679 MB / 1.365 GB, free: 4.574 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.328e-05/0.9221, allocations: 85.05 kB / 1.365 GB, free: 4.473 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002682/0.9224, allocations: 233 kB / 1.366 GB, free: 4.234 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 4.627e-05/0.9224, allocations: 37.7 kB / 1.366 GB, free: 4.191 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.9226, allocations: 164.6 kB / 1.366 GB, free: 4.027 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.9227, allocations: 103.2 kB / 1.366 GB, free: 3.926 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/0.9228, allocations: 65.69 kB / 1.366 GB, free: 3.855 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.000187/0.923, allocations: 330.8 kB / 1.366 GB, free: 3.523 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005274/0.9235, allocations: 218.8 kB / 1.367 GB, free: 3.301 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005718/0.9241, allocations: 279 kB / 1.367 GB, free: 2.992 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/0.9252, allocations: 476.7 kB / 1.367 GB, free: 2.492 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.9252, allocations: 4 kB / 1.367 GB, free: 2.488 MB / 1.042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001496/0.9267, allocations: 0.596 MB / 1.368 GB, free: 1.871 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 5.024e-05/0.9267, allocations: 33.7 kB / 1.368 GB, free: 1.832 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.9267, allocations: 4.281 kB / 1.368 GB, free: 1.828 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002489/0.927, allocations: 44.81 kB / 1.368 GB, free: 1.781 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004799/0.9274, allocations: 87.86 kB / 1.368 GB, free: 1.695 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001739/0.9292, allocations: 1.493 MB / 1.37 GB, free: 100 kB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003826/0.9296, allocations: 51.91 kB / 1.37 GB, free: 48 kB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.794e-05/0.9296, allocations: 19.98 kB / 1.37 GB, free: 28 kB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006986/0.9303, allocations: 314 kB / 1.37 GB, free: 15.71 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005453/0.9309, allocations: 275.3 kB / 1.37 GB, free: 15.41 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009916/0.9318, allocations: 462.1 kB / 1.371 GB, free: 14.92 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.388e-06/0.9318, allocations: 4 kB / 1.371 GB, free: 14.91 MB / 1.057 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.001306/0.9332, allocations: 0.5638 MB / 1.371 GB, free: 14.33 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 3.575e-05/0.9332, allocations: 33.64 kB / 1.371 GB, free: 14.29 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.9332, allocations: 7.984 kB / 1.371 GB, free: 14.28 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001547/0.9334, allocations: 45.09 kB / 1.371 GB, free: 14.23 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004738/0.9338, allocations: 91.8 kB / 1.371 GB, free: 14.14 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001577/0.9354, allocations: 1.478 MB / 1.373 GB, free: 12.55 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003577/0.9358, allocations: 43.84 kB / 1.373 GB, free: 12.51 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/0.9358, allocations: 19.94 kB / 1.373 GB, free: 12.49 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.0002026/0.936, allocations: 208.7 kB / 1.373 GB, free: 12.28 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.564e-05/0.9361, allocations: 23.86 kB / 1.373 GB, free: 12.26 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/0.9373, allocations: 478 kB / 1.373 GB, free: 11.78 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.938e-06/0.9373, allocations: 7.938 kB / 1.373 GB, free: 11.77 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.9373, allocations: 4 kB / 1.373 GB, free: 11.77 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.9373, allocations: 0 / 1.373 GB, free: 11.77 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006834/0.938, allocations: 463.6 kB / 1.374 GB, free: 11.27 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.938, allocations: 8.094 kB / 1.374 GB, free: 11.26 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003935/0.9384, allocations: 79.84 kB / 1.374 GB, free: 11.18 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001295/0.9385, allocations: 36.77 kB / 1.374 GB, free: 11.14 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.561e-05/0.9386, allocations: 8 kB / 1.374 GB, free: 11.14 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001545/0.9401, allocations: 1.393 MB / 1.375 GB, free: 9.641 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.9401, allocations: 8.094 kB / 1.375 GB, free: 9.633 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.9412, allocations: 0.5344 MB / 1.376 GB, free: 9.07 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.9414, allocations: 51.78 kB / 1.376 GB, free: 9.02 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.309e-05/0.9414, allocations: 11.94 kB / 1.376 GB, free: 9.008 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000347/0.9418, allocations: 43.94 kB / 1.376 GB, free: 8.965 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.9419, allocations: 39.83 kB / 1.376 GB, free: 8.926 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.97e-05/0.9419, allocations: 11.98 kB / 1.376 GB, free: 8.914 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0002657/0.9422, allocations: 176.5 kB / 1.376 GB, free: 8.746 MB / 1.057 GB Notification: Performance of sort global known variables: time 7e-08/0.9422, allocations: 0 / 1.376 GB, free: 8.746 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0006592/0.9429, allocations: 132 kB / 1.376 GB, free: 8.617 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.000209/0.9431, allocations: 107.2 kB / 1.376 GB, free: 8.504 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.002293/0.9454, allocations: 1.031 MB / 1.378 GB, free: 7.41 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.9454, allocations: 0 / 1.378 GB, free: 7.41 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0006674/0.946, allocations: 314.8 kB / 1.378 GB, free: 7.09 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004905/0.9465, allocations: 50.72 kB / 1.378 GB, free: 7.043 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.9479, allocations: 0.6187 MB / 1.378 GB, free: 6.395 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/0.9482, allocations: 182.8 kB / 1.379 GB, free: 6.195 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.000339/0.9485, allocations: 98.23 kB / 1.379 GB, free: 6.102 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.9486, allocations: 35.42 kB / 1.379 GB, free: 6.066 MB / 1.057 GB Notification: Performance of SimCode: time 1.062e-06/0.9486, allocations: 0 / 1.379 GB, free: 6.066 MB / 1.057 GB Notification: Performance of Templates: time 0.01171/0.9603, allocations: 5.409 MB / 1.384 GB, free: 0.7305 MB / 1.057 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & ./Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.184822207316756]