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.001009/0.001009, allocations: 79.69 kB / 21.74 MB, free: 2.52 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.001069/0.001069, allocations: 171.2 kB / 25.18 MB, free: 8.828 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.8877/0.8877, allocations: 177.2 MB / 205.6 MB, free: 4.371 MB / 186.7 MB " [Timeout remaining time 179] 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 1.93/1.93, allocations: 389.6 MB / 0.6364 GB, free: 13.27 MB / 0.6042 GB " [Timeout remaining time 178] 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 2.434e-06/2.434e-06, allocations: 3.938 kB / 0.7756 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.615e-05/2.858e-05, allocations: 2.312 kB / 0.7756 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.004723/0.004751, allocations: 2.577 MB / 0.7781 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002811/0.007562, allocations: 1.437 MB / 0.7795 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002278/0.00779, allocations: 7.938 kB / 0.7795 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005537/0.008343, allocations: 87.45 kB / 0.7796 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0005477/0.008891, allocations: 198.8 kB / 0.7798 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006492/0.00954, allocations: 211.4 kB / 0.78 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006121/0.01015, allocations: 422.3 kB / 0.7804 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000392/0.01054, allocations: 188 kB / 0.7805 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004762/0.01102, allocations: 235.4 kB / 0.7808 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003884/0.01141, allocations: 163.6 kB / 0.7809 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.439e-05/0.01146, allocations: 24 kB / 0.7809 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004585/0.01192, allocations: 195.6 kB / 0.7811 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.01205, allocations: 99.72 kB / 0.7812 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001335/0.01219, allocations: 103.7 kB / 0.7813 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006501/0.01284, allocations: 374.7 kB / 0.7817 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.01284, allocations: 0 / 0.7817 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.545e-06/0.01284, allocations: 4 kB / 0.7817 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.01285, allocations: 0 / 0.7817 GB, free: 8.246 MB / 0.7448 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.001011/0.01386, allocations: 0.5208 MB / 0.7822 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.0139, allocations: 12.03 kB / 0.7822 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008499/0.01475, allocations: 148.6 kB / 0.7823 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003829/0.01514, allocations: 217 kB / 0.7826 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/0.01516, allocations: 20.86 kB / 0.7826 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.159e-05/0.01521, allocations: 16.38 kB / 0.7826 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005475/0.01576, allocations: 316.3 kB / 0.7829 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.01577, allocations: 192 / 0.7829 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.33e-05/0.01581, allocations: 12.38 kB / 0.7829 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-05/0.01586, allocations: 24.3 kB / 0.7829 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002409/0.0161, allocations: 101 kB / 0.783 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001358/0.01745, allocations: 1.001 MB / 0.784 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005208/0.01798, allocations: 258 kB / 0.7842 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.01809, allocations: 57.69 kB / 0.7843 GB, free: 5.406 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.886e-05/0.01819, allocations: 11.98 kB / 0.7843 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002865/0.01848, allocations: 187 kB / 0.7845 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=27): time 1.874e-06/0.01848, allocations: 0 / 0.7845 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28): time 0.0007912/0.01927, allocations: 239.7 kB / 0.7847 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/0.01932, allocations: 85.05 kB / 0.7848 GB, free: 4.836 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.01951, allocations: 216.9 kB / 0.785 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.538e-05/0.01954, allocations: 33.7 kB / 0.785 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.708e-05/0.01964, allocations: 152.6 kB / 0.7852 GB, free: 4.418 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.091e-05/0.01972, allocations: 99.09 kB / 0.7853 GB, free: 4.32 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.01984, allocations: 65.66 kB / 0.7853 GB, free: 4.25 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.01995, allocations: 338.7 kB / 0.7857 GB, free: 3.91 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.02008, allocations: 75.06 kB / 0.7857 GB, free: 3.828 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000158/0.02024, allocations: 151 kB / 0.7859 GB, free: 3.645 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003021/0.02054, allocations: 217.4 kB / 0.7861 GB, free: 3.395 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.02055, allocations: 0 / 0.7861 GB, free: 3.395 MB / 0.7448 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004632/0.02101, allocations: 281.1 kB / 0.7864 GB, free: 3.098 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.523e-05/0.02105, allocations: 41.62 kB / 0.7864 GB, free: 3.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.02106, allocations: 0 / 0.7864 GB, free: 3.051 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002156/0.02128, allocations: 43.94 kB / 0.7864 GB, free: 3.004 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/0.02151, allocations: 75.88 kB / 0.7865 GB, free: 2.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008854/0.0224, allocations: 1.294 MB / 0.7878 GB, free: 1.535 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.02255, allocations: 31.91 kB / 0.7878 GB, free: 1.504 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.02257, allocations: 15.98 kB / 0.7878 GB, free: 1.488 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001353/0.02271, allocations: 153 kB / 0.788 GB, free: 1.328 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001047/0.02281, allocations: 151.1 kB / 0.7881 GB, free: 1.145 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001815/0.02299, allocations: 206.5 kB / 0.7883 GB, free: 0.9062 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.392e-06/0.023, allocations: 3.938 kB / 0.7883 GB, free: 0.9023 MB / 0.7448 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0002916/0.02329, allocations: 292.5 kB / 0.7886 GB, free: 0.5938 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.02331, allocations: 33.98 kB / 0.7886 GB, free: 0.5547 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.564e-06/0.02331, allocations: 4 kB / 0.7886 GB, free: 0.5508 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001117/0.02343, allocations: 39.64 kB / 0.7887 GB, free: 0.5078 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001888/0.02361, allocations: 79.88 kB / 0.7887 GB, free: 440 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007907/0.02441, allocations: 1.283 MB / 0.79 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.02454, allocations: 31.88 kB / 0.79 GB, free: 15.01 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.02456, allocations: 8 kB / 0.79 GB, free: 15 MB / 0.7605 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.0001722/0.02473, allocations: 212.1 kB / 0.7902 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.723e-05/0.02477, allocations: 23.98 kB / 0.7903 GB, free: 14.76 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003074/0.02508, allocations: 224.2 kB / 0.7905 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.02508, allocations: 4 kB / 0.7905 GB, free: 14.53 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.02508, allocations: 0 / 0.7905 GB, free: 14.53 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.02509, allocations: 0 / 0.7905 GB, free: 14.53 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003561/0.02545, allocations: 332.1 kB / 0.7908 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.02545, allocations: 4.094 kB / 0.7908 GB, free: 14.17 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.0256, allocations: 51.97 kB / 0.7908 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.715e-05/0.0257, allocations: 35.59 kB / 0.7909 GB, free: 14.08 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.02572, allocations: 11.98 kB / 0.7909 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000711/0.02643, allocations: 1.249 MB / 0.7921 GB, free: 12.72 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.02643, allocations: 0 / 0.7921 GB, free: 12.72 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.0267, allocations: 294.6 kB / 0.7924 GB, free: 12.4 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 6.421e-05/0.02676, allocations: 35.78 kB / 0.7924 GB, free: 12.37 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.02679, allocations: 8 kB / 0.7924 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.02691, allocations: 23.92 kB / 0.7925 GB, free: 12.34 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.829e-05/0.02697, allocations: 27.94 kB / 0.7925 GB, free: 12.31 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.02699, allocations: 8 kB / 0.7925 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 6.487e-05/0.02706, allocations: 78.81 kB / 0.7926 GB, free: 12.22 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.4e-07/0.02706, allocations: 4 kB / 0.7926 GB, free: 12.22 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003756/0.02743, allocations: 128 kB / 0.7927 GB, free: 12.09 MB / 0.7605 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.0001606/0.02759, allocations: 96.34 kB / 0.7928 GB, free: 11.99 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0007301/0.02832, allocations: 0.68 MB / 0.7934 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/0.02833, allocations: 0 / 0.7934 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.000177/0.02851, allocations: 195.4 kB / 0.7936 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.02876, allocations: 57.08 kB / 0.7937 GB, free: 10.98 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000906/0.02967, allocations: 0.6083 MB / 0.7943 GB, free: 10.33 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.0298, allocations: 170.8 kB / 0.7944 GB, free: 10.14 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001846/0.02999, allocations: 107.3 kB / 0.7945 GB, free: 10.03 MB / 0.7605 GB Notification: Performance of SimCode: time 8.71e-07/0.02999, allocations: 0 / 0.7945 GB, free: 10.03 MB / 0.7605 GB Notification: Performance of Templates: time 0.006469/0.03646, allocations: 5.385 MB / 0.7998 GB, free: 4.645 MB / 0.7605 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 > Buildings_13_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.132076199166477]