Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009404/0.0009405, allocations: 91.77 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 205.4 MB / 222.1 MB, free: 5.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.772/1.772, allocations: 292.7 MB / 0.5499 GB, free: 14.58 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005153/0.0005154, allocations: 18.75 kB / 0.6737 GB, free: 25.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2269, allocations: 116.3 MB / 0.7873 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.003976/0.231, allocations: 3.355 MB / 0.7905 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002625/0.2336, allocations: 1.669 MB / 0.7922 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002737/0.2339, allocations: 7.938 kB / 0.7922 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002543/0.2342, allocations: 55.56 kB / 0.7922 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006061/0.2348, allocations: 191.1 kB / 0.7924 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006083/0.2354, allocations: 199.5 kB / 0.7926 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006/0.2361, allocations: 0.5647 MB / 0.7932 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004352/0.2365, allocations: 334.8 kB / 0.7935 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002505/0.2368, allocations: 159.4 kB / 0.7936 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003867/0.2372, allocations: 215.3 kB / 0.7938 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.399e-05/0.2372, allocations: 16 kB / 0.7939 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00022/0.2374, allocations: 87.81 kB / 0.7939 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.2376, allocations: 119.7 kB / 0.7941 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.335e-05/0.2377, allocations: 81.58 kB / 0.7941 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003951/0.2381, allocations: 367.2 kB / 0.7945 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.2381, allocations: 4 kB / 0.7945 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2381, allocations: 3.938 kB / 0.7945 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.173e-05/0.2381, allocations: 0 / 0.7945 GB, free: 4.5 MB / 0.6075 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.000963/0.2391, allocations: 0.608 MB / 0.7951 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.2391, allocations: 8.031 kB / 0.7951 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005126/0.2396, allocations: 91.42 kB / 0.7952 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003352/0.24, allocations: 286.2 kB / 0.7954 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.24, allocations: 20.66 kB / 0.7955 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.321e-05/0.2401, allocations: 31.98 kB / 0.7955 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007417/0.2408, allocations: 493.8 kB / 0.796 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.2408, allocations: 7.938 kB / 0.796 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.227e-05/0.2409, allocations: 12 kB / 0.796 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.815e-05/0.2409, allocations: 36.64 kB / 0.796 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006764/0.2416, allocations: 382.3 kB / 0.7964 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001916/0.2435, allocations: 2.056 MB / 0.7984 GB, free: 180 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005144/0.2441, allocations: 221.6 kB / 0.7986 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003372/0.2444, allocations: 172.7 kB / 0.7988 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.2445, allocations: 7.984 kB / 0.7988 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.2445, allocations: 34.5 kB / 0.7988 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=18): time 1.483e-06/0.2445, allocations: 0 / 0.7988 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of matching and sorting (n=18): time 0.000982/0.2455, allocations: 451.1 kB / 0.7992 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.2455, allocations: 55.41 kB / 0.7993 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002346/0.2458, allocations: 262.6 kB / 0.7995 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.2458, allocations: 33.7 kB / 0.7996 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.2459, allocations: 207.7 kB / 0.7998 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.859e-05/0.246, allocations: 67.09 kB / 0.7998 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.364e-05/0.246, allocations: 4 kB / 0.7998 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.2461, allocations: 334.8 kB / 0.8002 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002226/0.2464, allocations: 104.4 kB / 0.8003 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002704/0.2466, allocations: 211.7 kB / 0.8005 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002596/0.2469, allocations: 135.9 kB / 0.8006 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.2469, allocations: 0 / 0.8006 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000692/0.2476, allocations: 372.8 kB / 0.8009 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.2477, allocations: 202.2 kB / 0.8011 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.2477, allocations: 4 kB / 0.8011 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001808/0.2479, allocations: 32.83 kB / 0.8012 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002506/0.2482, allocations: 71.91 kB / 0.8012 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00106/0.2493, allocations: 1.343 MB / 0.8026 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/0.2495, allocations: 47.83 kB / 0.8026 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.815e-05/0.2495, allocations: 16 kB / 0.8026 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.631e-06/0.2496, allocations: 4 kB / 0.8026 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005589/0.2501, allocations: 298.8 kB / 0.8029 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.2501, allocations: 8.031 kB / 0.8029 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.46e-06/0.2501, allocations: 4 kB / 0.8029 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002438/0.2504, allocations: 75.89 kB / 0.803 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.779e-06/0.2504, allocations: 11.94 kB / 0.803 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.2506, allocations: 43.81 kB / 0.803 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.762e-05/0.2506, allocations: 15.95 kB / 0.8031 GB, free: 11.07 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001812/0.2508, allocations: 252.9 kB / 0.8033 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.303e-05/0.2509, allocations: 23.72 kB / 0.8033 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.881e-05/0.251, allocations: 26.17 kB / 0.8033 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.251, allocations: 4 kB / 0.8034 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.251, allocations: 0 / 0.8034 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.251, allocations: 0 / 0.8034 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.2521, allocations: 0.7772 MB / 0.8041 GB, free: 9.902 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.2521, allocations: 0 / 0.8041 GB, free: 9.902 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/0.2523, allocations: 47.97 kB / 0.8042 GB, free: 9.855 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.246e-05/0.2524, allocations: 28.86 kB / 0.8042 GB, free: 9.824 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.2524, allocations: 4 kB / 0.8042 GB, free: 9.82 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009225/0.2533, allocations: 1.319 MB / 0.8055 GB, free: 8.367 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.2533, allocations: 0 / 0.8055 GB, free: 8.367 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005757/0.2539, allocations: 385.7 kB / 0.8058 GB, free: 7.965 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.254, allocations: 120.8 kB / 0.806 GB, free: 7.828 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.034e-05/0.2541, allocations: 7.953 kB / 0.806 GB, free: 7.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.2542, allocations: 23.97 kB / 0.806 GB, free: 7.797 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.271e-05/0.2543, allocations: 19.89 kB / 0.806 GB, free: 7.777 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.2543, allocations: 4 kB / 0.806 GB, free: 7.773 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001547/0.2545, allocations: 182 kB / 0.8062 GB, free: 7.594 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2545, allocations: 0 / 0.8062 GB, free: 7.594 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005607/0.2551, allocations: 147.5 kB / 0.8063 GB, free: 7.449 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001126/0.2552, allocations: 103.2 kB / 0.8064 GB, free: 7.336 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009875/0.2562, allocations: 0.5072 MB / 0.8069 GB, free: 6.816 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2562, allocations: 0 / 0.8069 GB, free: 6.816 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003205/0.2565, allocations: 235.2 kB / 0.8071 GB, free: 6.574 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004611/0.257, allocations: 67.59 kB / 0.8072 GB, free: 6.512 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009144/0.2579, allocations: 0.6731 MB / 0.8079 GB, free: 5.809 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.2583, allocations: 0.7996 MB / 0.8086 GB, free: 4.98 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002239/0.2585, allocations: 62.23 kB / 0.8087 GB, free: 4.922 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.02e-05/0.2586, allocations: 27.44 kB / 0.8087 GB, free: 4.895 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.2586, allocations: 0 / 0.8087 GB, free: 4.895 MB / 0.6231 GB Notification: Performance of Templates: time 0.006302/0.2649, allocations: 3.122 MB / 0.8118 GB, free: 1.809 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1) Environment - environmentSimulation: