Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.2362/0.2387, allocations: 80.84 MB / 0.6706 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.006888/0.2457, allocations: 3.814 MB / 0.6743 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004082/0.2498, allocations: 1.91 MB / 0.6762 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002548/0.2502, allocations: 7.938 kB / 0.6762 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001452/0.2516, allocations: 454.2 kB / 0.6766 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0008101/0.2524, allocations: 274.7 kB / 0.6769 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007753/0.2532, allocations: 250 kB / 0.6771 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0007439/0.254, allocations: 0.4907 MB / 0.6776 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007575/0.2547, allocations: 360.8 kB / 0.678 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003094/0.2551, allocations: 199.3 kB / 0.6782 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004797/0.2556, allocations: 251 kB / 0.6784 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.713e-05/0.2556, allocations: 32 kB / 0.6784 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004122/0.256, allocations: 183.6 kB / 0.6786 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001483/0.2562, allocations: 123.7 kB / 0.6787 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001941/0.2564, allocations: 179.1 kB / 0.6789 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006541/0.2571, allocations: 498.3 kB / 0.6794 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.2571, allocations: 4 kB / 0.6794 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.246e-06/0.2571, allocations: 0 / 0.6794 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.2571, allocations: 3.938 kB / 0.6794 GB, free: 9.02 MB / 0.5137 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.001344/0.2585, allocations: 0.6472 MB / 0.68 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.2585, allocations: 8.031 kB / 0.68 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005934/0.2591, allocations: 88.41 kB / 0.6801 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004105/0.2595, allocations: 303.6 kB / 0.6804 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.864e-05/0.2596, allocations: 25.02 kB / 0.6804 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.362e-05/0.2596, allocations: 24.38 kB / 0.6804 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008585/0.2605, allocations: 486 kB / 0.6809 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.2605, allocations: 4 kB / 0.6809 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.175e-05/0.2606, allocations: 11.98 kB / 0.6809 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.216e-05/0.2607, allocations: 48.56 kB / 0.681 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007707/0.2614, allocations: 370.2 kB / 0.6813 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00229/0.2637, allocations: 1.681 MB / 0.683 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005926/0.2643, allocations: 210.7 kB / 0.6832 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003807/0.2647, allocations: 152.8 kB / 0.6833 GB, free: 4.754 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.2648, allocations: 4 kB / 0.6833 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.2648, allocations: 34.56 kB / 0.6833 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 2.204e-06/0.2648, allocations: 0 / 0.6833 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.001214/0.266, allocations: 423.6 kB / 0.6837 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.2661, allocations: 59.31 kB / 0.6838 GB, free: 4.195 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002811/0.2664, allocations: 254.7 kB / 0.684 GB, free: 3.938 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.2664, allocations: 29.7 kB / 0.6841 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.2666, allocations: 219.6 kB / 0.6843 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.894e-05/0.2666, allocations: 67.09 kB / 0.6843 GB, free: 3.617 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.779e-05/0.2667, allocations: 53.98 kB / 0.6844 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.2669, allocations: 338.8 kB / 0.6847 GB, free: 3.219 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002653/0.2671, allocations: 93.91 kB / 0.6848 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003233/0.2675, allocations: 207.5 kB / 0.685 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005851/0.2681, allocations: 318.7 kB / 0.6853 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.2681, allocations: 4 kB / 0.6853 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007622/0.2689, allocations: 356 kB / 0.6857 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.2689, allocations: 8 kB / 0.6857 GB, free: 2.145 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.2689, allocations: 4 kB / 0.6857 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002443/0.2691, allocations: 33.09 kB / 0.6857 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002846/0.2694, allocations: 67.89 kB / 0.6858 GB, free: 2.039 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001738/0.2712, allocations: 1.433 MB / 0.6872 GB, free: 476 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002976/0.2715, allocations: 43.58 kB / 0.6872 GB, free: 432 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.157e-05/0.2716, allocations: 16 kB / 0.6872 GB, free: 416 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000458/0.272, allocations: 224.6 kB / 0.6874 GB, free: 188 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003813/0.2724, allocations: 212.7 kB / 0.6876 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005542/0.273, allocations: 314.4 kB / 0.6879 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.803e-06/0.273, allocations: 3.938 kB / 0.6879 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007522/0.2737, allocations: 337.3 kB / 0.6883 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.2738, allocations: 12.09 kB / 0.6883 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.2738, allocations: 8 kB / 0.6883 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.444e-06/0.2738, allocations: 4 kB / 0.6883 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002793/0.2741, allocations: 75.89 kB / 0.6884 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.2741, allocations: 7.938 kB / 0.6884 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002435/0.2743, allocations: 35.73 kB / 0.6884 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.932e-05/0.2744, allocations: 16 kB / 0.6884 GB, free: 15.06 MB / 0.5294 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.0002562/0.2746, allocations: 204.1 kB / 0.6886 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.853e-05/0.2747, allocations: 27.7 kB / 0.6886 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.616e-05/0.2748, allocations: 30.19 kB / 0.6887 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.2748, allocations: 0 / 0.6887 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.2748, allocations: 0 / 0.6887 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.2748, allocations: 3.984 kB / 0.6887 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/0.276, allocations: 0.6985 MB / 0.6894 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.276, allocations: 0 / 0.6894 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/0.2762, allocations: 39.97 kB / 0.6894 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001292/0.2764, allocations: 32.89 kB / 0.6894 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.2764, allocations: 4 kB / 0.6894 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001426/0.2778, allocations: 1.418 MB / 0.6908 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.2779, allocations: 0 / 0.6908 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006714/0.2785, allocations: 376.4 kB / 0.6912 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001534/0.2787, allocations: 116.8 kB / 0.6913 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.981e-05/0.2787, allocations: 0 / 0.6913 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/0.2789, allocations: 15.98 kB / 0.6913 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.803e-05/0.279, allocations: 23.92 kB / 0.6913 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.279, allocations: 7.938 kB / 0.6913 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002343/0.2793, allocations: 186 kB / 0.6915 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.7e-07/0.2793, allocations: 0 / 0.6915 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006706/0.2799, allocations: 143.5 kB / 0.6916 GB, free: 11.5 MB / 0.5294 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.0001401/0.2801, allocations: 103.2 kB / 0.6917 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001123/0.2812, allocations: 499.9 kB / 0.6922 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.2812, allocations: 0 / 0.6922 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004618/0.2817, allocations: 222.5 kB / 0.6924 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000555/0.2823, allocations: 72.64 kB / 0.6925 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.2833, allocations: 0.5609 MB / 0.693 GB, free: 10 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004571/0.2838, allocations: 0.8035 MB / 0.6938 GB, free: 9.172 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002222/0.284, allocations: 74.2 kB / 0.6939 GB, free: 9.102 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.782e-05/0.2841, allocations: 23.42 kB / 0.6939 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of SimCode: time 3.51e-07/0.2841, allocations: 0 / 0.6939 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of Templates: time 0.009371/0.2935, allocations: 3.578 MB / 0.6974 GB, free: 5.535 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)