Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007927/0.0007927, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009338/0.000934, allocations: 168.7 kB / 15.95 MB, free: 204 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.44/1.44, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.634/1.634, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005543/0.0005544, allocations: 14.72 kB / 0.6737 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.278, allocations: 116.3 MB / 0.7873 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.003207/0.2813, allocations: 2.076 MB / 0.7893 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002384/0.2837, allocations: 1.354 MB / 0.7906 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001659/0.2839, allocations: 3.938 kB / 0.7906 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001775/0.2841, allocations: 19.8 kB / 0.7907 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004745/0.2846, allocations: 107.5 kB / 0.7908 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005669/0.2851, allocations: 143.7 kB / 0.7909 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003766/0.2855, allocations: 255.2 kB / 0.7911 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005287/0.2861, allocations: 226 kB / 0.7914 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001805/0.2863, allocations: 63.77 kB / 0.7914 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002774/0.2865, allocations: 99.64 kB / 0.7915 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.757e-05/0.2866, allocations: 8 kB / 0.7915 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002799/0.2869, allocations: 119.8 kB / 0.7916 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.884e-05/0.287, allocations: 47.88 kB / 0.7917 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.403e-05/0.287, allocations: 57.58 kB / 0.7917 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003343/0.2874, allocations: 199.8 kB / 0.7919 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.2874, allocations: 0 / 0.7919 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.017e-06/0.2874, allocations: 3.984 kB / 0.7919 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.281e-06/0.2874, allocations: 0 / 0.7919 GB, free: 7.117 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007429/0.2882, allocations: 447 kB / 0.7924 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.2882, allocations: 8.031 kB / 0.7924 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005718/0.2888, allocations: 75.69 kB / 0.7924 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003031/0.2891, allocations: 217.9 kB / 0.7926 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.2891, allocations: 16.27 kB / 0.7927 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.859e-05/0.2892, allocations: 8 kB / 0.7927 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004546/0.2896, allocations: 279.7 kB / 0.7929 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.2897, allocations: 7.938 kB / 0.7929 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.52e-05/0.2897, allocations: 3.984 kB / 0.793 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.785e-05/0.2897, allocations: 16.23 kB / 0.793 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003451/0.2901, allocations: 212.4 kB / 0.7932 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001824/0.2919, allocations: 1.58 MB / 0.7947 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003991/0.2923, allocations: 311.4 kB / 0.795 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.71e-05/0.2925, allocations: 65.75 kB / 0.7951 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.2925, allocations: 8.141 kB / 0.7951 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.2925, allocations: 42.45 kB / 0.7951 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 2.554e-06/0.2925, allocations: 0 / 0.7951 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0006294/0.2932, allocations: 244.5 kB / 0.7954 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.754e-05/0.2932, allocations: 81.3 kB / 0.7954 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002184/0.2935, allocations: 203.9 kB / 0.7956 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.2935, allocations: 29.7 kB / 0.7957 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.2936, allocations: 147.7 kB / 0.7958 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/0.2937, allocations: 43.47 kB / 0.7958 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.098e-05/0.2937, allocations: 4 kB / 0.7958 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.2938, allocations: 326.8 kB / 0.7962 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.2939, allocations: 67.95 kB / 0.7962 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.2941, allocations: 153.9 kB / 0.7964 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.2943, allocations: 91.95 kB / 0.7964 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2943, allocations: 4 kB / 0.7965 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003891/0.2947, allocations: 257.2 kB / 0.7967 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001397/0.2948, allocations: 179.4 kB / 0.7969 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.2948, allocations: 4 kB / 0.7969 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.2949, allocations: 4 kB / 0.7969 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/0.2951, allocations: 52.03 kB / 0.7969 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/0.2951, allocations: 8 kB / 0.7969 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.2953, allocations: 15.98 kB / 0.7969 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/0.2953, allocations: 11.98 kB / 0.797 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.266e-06/0.2953, allocations: 7.938 kB / 0.797 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002912/0.2956, allocations: 188 kB / 0.7971 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.2956, allocations: 8.094 kB / 0.7972 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.662e-06/0.2956, allocations: 4 kB / 0.7972 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.2958, allocations: 47.91 kB / 0.7972 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.2958, allocations: 7.953 kB / 0.7972 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.2959, allocations: 23.83 kB / 0.7972 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.296, allocations: 12 kB / 0.7972 GB, free: 1.207 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001586/0.2961, allocations: 213 kB / 0.7975 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.775e-05/0.2962, allocations: 11.91 kB / 0.7975 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002453/0.2964, allocations: 154.9 kB / 0.7976 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.2964, allocations: 0 / 0.7976 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.2965, allocations: 3.953 kB / 0.7976 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2965, allocations: 4 kB / 0.7976 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009707/0.2974, allocations: 0.7157 MB / 0.7983 GB, free: 4 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.2975, allocations: 4 kB / 0.7983 GB, free: 0 / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.2976, allocations: 31.97 kB / 0.7984 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.2976, allocations: 0 / 0.7984 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.2976, allocations: 4 kB / 0.7984 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.2976, allocations: 4 kB / 0.7984 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.2976, allocations: 8.281 kB / 0.7984 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003171/0.298, allocations: 382.2 kB / 0.7987 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.911e-05/0.2981, allocations: 108.9 kB / 0.7988 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.001e-05/0.2981, allocations: 4 kB / 0.7988 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.2983, allocations: 11.98 kB / 0.7988 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.934e-05/0.2983, allocations: 11.94 kB / 0.7989 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.2983, allocations: 8 kB / 0.7989 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001439/0.2985, allocations: 157.3 kB / 0.799 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.2985, allocations: 0 / 0.799 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005025/0.299, allocations: 71.94 kB / 0.7991 GB, free: 15.15 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001851/0.2992, allocations: 111.1 kB / 0.7992 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004304/0.2996, allocations: 260.1 kB / 0.7994 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.2996, allocations: 0 / 0.7994 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 8.657e-05/0.2997, allocations: 61.39 kB / 0.7995 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004736/0.3002, allocations: 29.02 kB / 0.7995 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007823/0.301, allocations: 0.497 MB / 0.8 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004085/0.3014, allocations: 0.7363 MB / 0.8007 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002057/0.3016, allocations: 73.47 kB / 0.8008 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.248e-05/0.3017, allocations: 23.42 kB / 0.8008 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of SimCode: time 3.11e-07/0.3017, allocations: 3.938 kB / 0.8008 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of Templates: time 0.00511/0.3068, allocations: 1.632 MB / 0.8024 GB, free: 11.66 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) Environment - environmentSimulation: