Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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.Sources.Examples.VoltageSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource") translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource") [/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.2772/0.2795, allocations: 80.84 MB / 0.6706 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005993/0.2855, allocations: 3.178 MB / 0.6737 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002692/0.2883, allocations: 1.426 MB / 0.6751 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001924/0.2885, allocations: 4 kB / 0.6751 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001049/0.2896, allocations: 334.7 kB / 0.6754 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0004028/0.29, allocations: 163.2 kB / 0.6756 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004279/0.2904, allocations: 138.8 kB / 0.6757 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003908/0.2908, allocations: 330.9 kB / 0.676 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004723/0.2913, allocations: 255.6 kB / 0.6763 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001952/0.2915, allocations: 135.5 kB / 0.6764 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003195/0.2918, allocations: 155.4 kB / 0.6766 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.438e-05/0.2919, allocations: 20 kB / 0.6766 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002795/0.2922, allocations: 175.6 kB / 0.6767 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.2923, allocations: 79.8 kB / 0.6768 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.2924, allocations: 127.3 kB / 0.6769 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004437/0.2929, allocations: 350.9 kB / 0.6773 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.2929, allocations: 0 / 0.6773 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2929, allocations: 0 / 0.6773 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.2929, allocations: 0 / 0.6773 GB, free: 13.75 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001021/0.2939, allocations: 0.5341 MB / 0.6778 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.294, allocations: 8.031 kB / 0.6778 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006318/0.2946, allocations: 88.48 kB / 0.6779 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003393/0.295, allocations: 260.4 kB / 0.6781 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.794e-05/0.295, allocations: 20.75 kB / 0.6782 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.904e-05/0.2951, allocations: 16.38 kB / 0.6782 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005053/0.2956, allocations: 320.6 kB / 0.6785 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.2956, allocations: 4 kB / 0.6785 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.759e-05/0.2956, allocations: 4 kB / 0.6785 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.362e-05/0.2957, allocations: 20.42 kB / 0.6785 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000366/0.296, allocations: 209.6 kB / 0.6787 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001641/0.2977, allocations: 1.189 MB / 0.6799 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004607/0.2982, allocations: 207.6 kB / 0.6801 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.93e-05/0.2983, allocations: 44.83 kB / 0.6801 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.2983, allocations: 0 / 0.6801 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.2983, allocations: 34.56 kB / 0.6801 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 8.61e-07/0.2984, allocations: 0 / 0.6801 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.0006186/0.299, allocations: 267.4 kB / 0.6804 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.299, allocations: 51.41 kB / 0.6804 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002128/0.2993, allocations: 205.3 kB / 0.6806 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.2993, allocations: 29.7 kB / 0.6807 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.2994, allocations: 183.6 kB / 0.6808 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/0.2994, allocations: 31.55 kB / 0.6809 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.722e-05/0.2995, allocations: 33.72 kB / 0.6809 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.2997, allocations: 330.8 kB / 0.6812 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.773e-05/0.2998, allocations: 47.97 kB / 0.6813 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.2999, allocations: 111.5 kB / 0.6814 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002257/0.3001, allocations: 172.3 kB / 0.6815 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3001, allocations: 0 / 0.6815 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000349/0.3005, allocations: 210.1 kB / 0.6817 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.3005, allocations: 8 kB / 0.6817 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3005, allocations: 0 / 0.6817 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002035/0.3007, allocations: 28.84 kB / 0.6818 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.3009, allocations: 35.92 kB / 0.6818 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001137/0.302, allocations: 1.425 MB / 0.6832 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.3022, allocations: 27.98 kB / 0.6832 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.3022, allocations: 4 kB / 0.6832 GB, free: 7.133 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000163/0.3024, allocations: 158.4 kB / 0.6834 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.351e-05/0.3024, allocations: 15.81 kB / 0.6834 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.869e-05/0.3025, allocations: 25.33 kB / 0.6834 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3025, allocations: 0 / 0.6834 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.3025, allocations: 0 / 0.6834 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3025, allocations: 0 / 0.6834 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006934/0.3032, allocations: 495.1 kB / 0.6839 GB, free: 6.383 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.3032, allocations: 0 / 0.6839 GB, free: 6.383 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.256e-05/0.3033, allocations: 15.92 kB / 0.6839 GB, free: 6.367 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.795e-05/0.3034, allocations: 24.84 kB / 0.6839 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.3034, allocations: 0 / 0.6839 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009935/0.3044, allocations: 1.421 MB / 0.6853 GB, free: 4.777 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3044, allocations: 8.094 kB / 0.6853 GB, free: 4.77 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002721/0.3047, allocations: 232.1 kB / 0.6855 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.204e-05/0.3048, allocations: 100.9 kB / 0.6856 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.3048, allocations: 4 kB / 0.6856 GB, free: 4.402 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.3049, allocations: 4 kB / 0.6856 GB, free: 4.398 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.289e-05/0.305, allocations: 15.98 kB / 0.6857 GB, free: 4.383 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.305, allocations: 0 / 0.6857 GB, free: 4.383 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001187/0.3051, allocations: 149.5 kB / 0.6858 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3051, allocations: 0 / 0.6858 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003188/0.3054, allocations: 59.78 kB / 0.6859 GB, free: 4.18 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 6 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001307/0.3056, allocations: 95.25 kB / 0.686 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004873/0.3061, allocations: 242.6 kB / 0.6862 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.3061, allocations: 0 / 0.6862 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001985/0.3063, allocations: 162.7 kB / 0.6863 GB, free: 3.652 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003773/0.3067, allocations: 30.95 kB / 0.6864 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007227/0.3074, allocations: 392 kB / 0.6867 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.3078, allocations: 0.7554 MB / 0.6875 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.899e-05/0.3078, allocations: 26.16 kB / 0.6875 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.682e-05/0.3079, allocations: 11.44 kB / 0.6875 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of SimCode: time 3.41e-07/0.3079, allocations: 4 kB / 0.6875 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of Templates: time 0.005408/0.3133, allocations: 1.954 MB / 0.6894 GB, free: 476 kB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)