Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.343/1.343, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009033/0.0009034, allocations: 183.2 kB / 326.5 MB, free: 2.695 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.633/1.633, allocations: 205 MB / 0.5766 GB, free: 21.02 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008307/0.0008307, allocations: 94.83 kB / 0.6803 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003256/0.0003256, allocations: 8.844 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2399, allocations: 105.4 MB / 0.8967 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.004208/0.2441, allocations: 3.542 MB / 0.9002 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002392/0.2465, allocations: 1.789 MB / 0.9019 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001969/0.2468, allocations: 4 kB / 0.9019 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00106/0.2478, allocations: 426.5 kB / 0.9024 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004295/0.2483, allocations: 231 kB / 0.9026 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004968/0.2488, allocations: 225.5 kB / 0.9028 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004971/0.2493, allocations: 0.7051 MB / 0.9035 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003497/0.2496, allocations: 242.3 kB / 0.9037 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001549/0.2498, allocations: 159.3 kB / 0.9039 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002875/0.2501, allocations: 227.2 kB / 0.9041 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.809e-05/0.2502, allocations: 16 kB / 0.9041 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003059/0.2505, allocations: 223.5 kB / 0.9043 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.989e-05/0.2506, allocations: 119.7 kB / 0.9044 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.2507, allocations: 159.1 kB / 0.9046 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003213/0.251, allocations: 371.1 kB / 0.9049 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.251, allocations: 4 kB / 0.9049 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2511, allocations: 0 / 0.9049 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.2511, allocations: 0 / 0.9049 GB, free: 59.77 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0008996/0.252, allocations: 0.6005 MB / 0.9055 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.252, allocations: 8.031 kB / 0.9055 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004877/0.2525, allocations: 88.41 kB / 0.9056 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003196/0.2528, allocations: 295.3 kB / 0.9059 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.2529, allocations: 25.03 kB / 0.9059 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.385e-05/0.2529, allocations: 32.36 kB / 0.9059 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006743/0.2536, allocations: 494 kB / 0.9064 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.2536, allocations: 4 kB / 0.9064 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/0.2537, allocations: 15.98 kB / 0.9064 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.953e-05/0.2537, allocations: 44.56 kB / 0.9065 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006278/0.2544, allocations: 390.2 kB / 0.9068 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001655/0.256, allocations: 2.037 MB / 0.9088 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004978/0.2565, allocations: 230.5 kB / 0.9091 GB, free: 55.22 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000334/0.2569, allocations: 168.8 kB / 0.9092 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.184e-05/0.2569, allocations: 4 kB / 0.9092 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.2569, allocations: 30.56 kB / 0.9093 GB, free: 55.01 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.462e-06/0.257, allocations: 0 / 0.9093 GB, free: 55.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.001024/0.258, allocations: 465.6 kB / 0.9097 GB, free: 54.53 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.258, allocations: 51.41 kB / 0.9097 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001857/0.2582, allocations: 262.7 kB / 0.91 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.2583, allocations: 25.7 kB / 0.91 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.545e-05/0.2583, allocations: 219.6 kB / 0.9102 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.449e-05/0.2584, allocations: 67.09 kB / 0.9103 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/0.2584, allocations: 29.7 kB / 0.9103 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.68e-05/0.2585, allocations: 334.8 kB / 0.9106 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000221/0.2587, allocations: 100.5 kB / 0.9107 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000248/0.259, allocations: 215.6 kB / 0.9109 GB, free: 53.15 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004617/0.2595, allocations: 329.5 kB / 0.9113 GB, free: 52.78 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.2595, allocations: 3.938 kB / 0.9113 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006566/0.2601, allocations: 388.3 kB / 0.9116 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.437e-05/0.2602, allocations: 194 kB / 0.9118 GB, free: 52.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.2602, allocations: 4 kB / 0.9118 GB, free: 52.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002068/0.2605, allocations: 32.84 kB / 0.9119 GB, free: 52.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002455/0.2607, allocations: 67.89 kB / 0.9119 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009267/0.2616, allocations: 1.339 MB / 0.9132 GB, free: 50.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002359/0.2619, allocations: 51.66 kB / 0.9133 GB, free: 50.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/0.2619, allocations: 12 kB / 0.9133 GB, free: 50.51 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.302e-06/0.2619, allocations: 7.938 kB / 0.9133 GB, free: 50.5 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005147/0.2625, allocations: 301.8 kB / 0.9136 GB, free: 50.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.2625, allocations: 4 kB / 0.9136 GB, free: 50.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.907e-06/0.2625, allocations: 7.938 kB / 0.9136 GB, free: 50.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002382/0.2627, allocations: 79.83 kB / 0.9137 GB, free: 50.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.2627, allocations: 7.938 kB / 0.9137 GB, free: 50.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.2629, allocations: 40.02 kB / 0.9137 GB, free: 50.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.2629, allocations: 12 kB / 0.9137 GB, free: 50.06 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 31 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001553/0.2631, allocations: 249 kB / 0.914 GB, free: 49.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.686e-05/0.2632, allocations: 31.7 kB / 0.914 GB, free: 49.77 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.211e-05/0.2632, allocations: 34.12 kB / 0.914 GB, free: 49.74 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.2632, allocations: 0 / 0.914 GB, free: 49.74 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.2632, allocations: 4 kB / 0.914 GB, free: 49.73 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.2632, allocations: 3.984 kB / 0.914 GB, free: 49.73 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009849/0.2642, allocations: 0.7733 MB / 0.9148 GB, free: 48.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-06/0.2643, allocations: 0 / 0.9148 GB, free: 48.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001742/0.2644, allocations: 44.03 kB / 0.9148 GB, free: 48.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001018/0.2645, allocations: 28.83 kB / 0.9149 GB, free: 48.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.2646, allocations: 4 kB / 0.9149 GB, free: 48.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006996/0.2653, allocations: 1.323 MB / 0.9162 GB, free: 47.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.2653, allocations: 7.969 kB / 0.9162 GB, free: 47.33 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005649/0.2659, allocations: 383.3 kB / 0.9165 GB, free: 46.93 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.589e-05/0.2659, allocations: 120.7 kB / 0.9166 GB, free: 46.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.266, allocations: 7.938 kB / 0.9166 GB, free: 46.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.2662, allocations: 19.98 kB / 0.9167 GB, free: 46.77 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.518e-05/0.2662, allocations: 23.88 kB / 0.9167 GB, free: 46.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.2663, allocations: 8 kB / 0.9167 GB, free: 46.74 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001346/0.2664, allocations: 185.9 kB / 0.9169 GB, free: 46.56 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2664, allocations: 0 / 0.9169 GB, free: 46.56 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000499/0.2669, allocations: 143.6 kB / 0.917 GB, free: 46.42 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001243/0.267, allocations: 103.2 kB / 0.9171 GB, free: 46.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009125/0.268, allocations: 0.5015 MB / 0.9176 GB, free: 45.79 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.268, allocations: 448 / 0.9176 GB, free: 45.79 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002905/0.2683, allocations: 238.5 kB / 0.9178 GB, free: 45.55 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004953/0.2688, allocations: 70.28 kB / 0.9179 GB, free: 45.48 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009285/0.2697, allocations: 0.7199 MB / 0.9186 GB, free: 44.73 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.27, allocations: 0.7996 MB / 0.9194 GB, free: 43.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.231e-05/0.27, allocations: 27.44 kB / 0.9194 GB, free: 43.88 MB / 0.6042 GB Notification: Performance of SimCode: time 3.11e-07/0.2701, allocations: 0 / 0.9194 GB, free: 43.88 MB / 0.6042 GB Notification: Performance of Templates: time 0.005748/0.2758, allocations: 4.724 MB / 0.924 GB, free: 39.16 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)