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.002432/0.002432, allocations: 80.52 kB / 19.96 MB, free: 4.602 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.002146/0.002146, allocations: 173.2 kB / 23.24 MB, free: 1.324 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 1.58/1.58, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.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.099/3.099, allocations: 389.5 MB / 0.6343 GB, free: 12.62 MB / 0.6042 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 1.182e-06/1.182e-06, allocations: 0 / 1.001 GB, free: 13.07 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.654e-05/2.772e-05, allocations: 9.656 kB / 1.001 GB, free: 13.06 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.005281/0.005309, allocations: 2.971 MB / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.003495/0.008804, allocations: 1.846 MB / 1.006 GB, free: 8.219 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.008934, allocations: 7.938 kB / 1.006 GB, free: 8.211 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0008733/0.009808, allocations: 238.9 kB / 1.006 GB, free: 7.977 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0005478/0.01036, allocations: 230.6 kB / 1.006 GB, free: 7.75 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006743/0.01103, allocations: 259.1 kB / 1.007 GB, free: 7.496 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0005574/0.01159, allocations: 406.6 kB / 1.007 GB, free: 7.098 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003698/0.01196, allocations: 182 kB / 1.007 GB, free: 6.922 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004062/0.01236, allocations: 231.4 kB / 1.007 GB, free: 6.695 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003596/0.01272, allocations: 167.6 kB / 1.007 GB, free: 6.531 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 5.958e-05/0.01278, allocations: 28 kB / 1.007 GB, free: 6.504 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004944/0.01328, allocations: 275.3 kB / 1.008 GB, free: 6.234 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001441/0.01342, allocations: 103.7 kB / 1.008 GB, free: 6.133 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.000163/0.01358, allocations: 103.7 kB / 1.008 GB, free: 6.031 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0008021/0.01439, allocations: 0.5257 MB / 1.008 GB, free: 5.504 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.01439, allocations: 0 / 1.008 GB, free: 5.504 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.122e-06/0.01439, allocations: 4 kB / 1.008 GB, free: 5.5 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.972e-06/0.0144, allocations: 3.938 kB / 1.008 GB, free: 5.496 MB / 0.9636 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.00131/0.01571, allocations: 0.5846 MB / 1.009 GB, free: 4.875 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.01575, allocations: 13.34 kB / 1.009 GB, free: 4.863 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009709/0.01672, allocations: 120.6 kB / 1.009 GB, free: 4.746 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004182/0.01714, allocations: 237.2 kB / 1.009 GB, free: 4.488 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.01716, allocations: 16.86 kB / 1.009 GB, free: 4.473 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.33e-05/0.01723, allocations: 24.38 kB / 1.009 GB, free: 4.449 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009954/0.01822, allocations: 456.7 kB / 1.01 GB, free: 3.969 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.01824, allocations: 192 / 1.01 GB, free: 3.969 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.988e-05/0.01828, allocations: 16.38 kB / 1.01 GB, free: 3.953 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.945e-05/0.01833, allocations: 24.3 kB / 1.01 GB, free: 3.926 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.0194, allocations: 396.8 kB / 1.01 GB, free: 3.539 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002272/0.02167, allocations: 1.264 MB / 1.012 GB, free: 2.223 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001385/0.02306, allocations: 453 kB / 1.012 GB, free: 1.762 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005196/0.02358, allocations: 185.6 kB / 1.012 GB, free: 1.574 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001157/0.02369, allocations: 15.84 kB / 1.012 GB, free: 1.559 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006989/0.02439, allocations: 312.2 kB / 1.012 GB, free: 1.227 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=27): time 1.723e-06/0.0244, allocations: 0 / 1.012 GB, free: 1.227 MB / 0.9636 GB Notification: Performance of matching and sorting (n=28): time 0.002196/0.02659, allocations: 0.6911 MB / 1.013 GB, free: 0.5273 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/0.02666, allocations: 81.11 kB / 1.013 GB, free: 440 kB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002784/0.02694, allocations: 233.7 kB / 1.013 GB, free: 192 kB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 4.514e-05/0.02699, allocations: 29.89 kB / 1.013 GB, free: 156 kB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/0.02715, allocations: 172.8 kB / 1.014 GB, free: 15.98 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.02726, allocations: 103.1 kB / 1.014 GB, free: 15.88 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/0.0274, allocations: 69.64 kB / 1.014 GB, free: 15.8 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001938/0.02759, allocations: 334.8 kB / 1.014 GB, free: 15.46 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005264/0.02812, allocations: 214.7 kB / 1.014 GB, free: 15.25 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005977/0.02872, allocations: 291 kB / 1.015 GB, free: 14.93 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/0.02982, allocations: 470.9 kB / 1.015 GB, free: 14.43 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.02982, allocations: 0 / 1.015 GB, free: 14.43 MB / 0.9792 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001443/0.03126, allocations: 0.5929 MB / 1.016 GB, free: 13.82 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 4.384e-05/0.0313, allocations: 32.05 kB / 1.016 GB, free: 13.79 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.03131, allocations: 4 kB / 1.016 GB, free: 13.78 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002368/0.03155, allocations: 53.12 kB / 1.016 GB, free: 13.73 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004797/0.03203, allocations: 87.84 kB / 1.016 GB, free: 13.64 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001754/0.03378, allocations: 1.473 MB / 1.017 GB, free: 12.05 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003929/0.03417, allocations: 55.86 kB / 1.017 GB, free: 12 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.099e-05/0.03421, allocations: 20 kB / 1.017 GB, free: 11.98 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008649/0.03508, allocations: 314 kB / 1.018 GB, free: 11.66 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005873/0.03567, allocations: 287 kB / 1.018 GB, free: 11.35 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001049/0.03672, allocations: 458.1 kB / 1.018 GB, free: 10.86 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.944e-06/0.03672, allocations: 0 / 1.018 GB, free: 10.86 MB / 0.9792 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.001378/0.0381, allocations: 0.5638 MB / 1.019 GB, free: 10.28 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 3.852e-05/0.03813, allocations: 33.7 kB / 1.019 GB, free: 10.24 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.03814, allocations: 4 kB / 1.019 GB, free: 10.23 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002033/0.03834, allocations: 48.75 kB / 1.019 GB, free: 10.18 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000479/0.03882, allocations: 88.06 kB / 1.019 GB, free: 10.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001659/0.04048, allocations: 1.486 MB / 1.02 GB, free: 8.508 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003604/0.04084, allocations: 39.91 kB / 1.02 GB, free: 8.469 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-05/0.04088, allocations: 19.98 kB / 1.021 GB, free: 8.449 MB / 0.9792 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.0002118/0.04109, allocations: 208.1 kB / 1.021 GB, free: 8.238 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.779e-05/0.04115, allocations: 27.81 kB / 1.021 GB, free: 8.211 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/0.04242, allocations: 472.7 kB / 1.021 GB, free: 7.73 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.04242, allocations: 4 kB / 1.021 GB, free: 7.727 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.04242, allocations: 0 / 1.021 GB, free: 7.727 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.04243, allocations: 3.938 kB / 1.021 GB, free: 7.723 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007033/0.04313, allocations: 467.6 kB / 1.022 GB, free: 7.223 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.04314, allocations: 0 / 1.022 GB, free: 7.223 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000405/0.04354, allocations: 72.02 kB / 1.022 GB, free: 7.152 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000136/0.04368, allocations: 48.7 kB / 1.022 GB, free: 7.102 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.644e-05/0.0437, allocations: 4 kB / 1.022 GB, free: 7.098 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001468/0.04517, allocations: 1.401 MB / 1.023 GB, free: 5.598 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.04517, allocations: 3.938 kB / 1.023 GB, free: 5.594 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/0.04631, allocations: 0.5343 MB / 1.024 GB, free: 5.031 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.04645, allocations: 63.7 kB / 1.024 GB, free: 4.969 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.497e-05/0.0465, allocations: 8 kB / 1.024 GB, free: 4.961 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003374/0.04684, allocations: 35.95 kB / 1.024 GB, free: 4.926 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/0.04695, allocations: 39.88 kB / 1.024 GB, free: 4.887 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.72e-05/0.04698, allocations: 8 kB / 1.024 GB, free: 4.879 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0002696/0.04725, allocations: 181.2 kB / 1.024 GB, free: 4.703 MB / 0.9792 GB Notification: Performance of sort global known variables: time 9e-08/0.04725, allocations: 0 / 1.024 GB, free: 4.703 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0006232/0.04787, allocations: 132 kB / 1.024 GB, free: 4.574 MB / 0.9792 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.000194/0.04806, allocations: 107.2 kB / 1.024 GB, free: 4.461 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.002491/0.05055, allocations: 1.032 MB / 1.025 GB, free: 3.367 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.05056, allocations: 0 / 1.025 GB, free: 3.367 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.000683/0.05124, allocations: 318.3 kB / 1.026 GB, free: 3.043 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004491/0.05169, allocations: 52.28 kB / 1.026 GB, free: 2.996 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.05297, allocations: 0.5903 MB / 1.026 GB, free: 2.375 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.0532, allocations: 182.8 kB / 1.026 GB, free: 2.168 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0003285/0.05353, allocations: 98.33 kB / 1.026 GB, free: 2.074 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.05364, allocations: 28.48 kB / 1.026 GB, free: 2.047 MB / 0.9792 GB Notification: Performance of SimCode: time 4.71e-07/0.05364, allocations: 0 / 1.026 GB, free: 2.047 MB / 0.9792 GB Notification: Performance of Templates: time 0.01162/0.06526, allocations: 5.141 MB / 1.031 GB, free: 12.96 MB / 0.9948 GB " [Timeout remaining time 300] 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: 8.765991569496691]