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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.918/1.918, allocations: 292.3 MB / 308.1 MB, free: 4.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001768/0.001769, allocations: 196.4 kB / 376.9 MB, free: 1.824 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.999/1.999, allocations: 205.1 MB / 0.6354 GB, free: 9.793 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001274/0.001275, allocations: 103.4 kB / 0.748 GB, free: 61.36 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001621/0.001621, allocations: 60.14 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.281, allocations: 114.5 MB / 0.9822 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.004687/0.2858, allocations: 2.503 MB / 0.9847 GB, free: 7.891 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002524/0.2883, allocations: 1.474 MB / 0.9861 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001757/0.2885, allocations: 4 kB / 0.9861 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0007886/0.2893, allocations: 159.4 kB / 0.9863 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.000403/0.2897, allocations: 119.6 kB / 0.9864 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005297/0.2903, allocations: 171.6 kB / 0.9865 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004324/0.2907, allocations: 319.1 kB / 0.9868 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003384/0.2911, allocations: 117.2 kB / 0.987 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002031/0.2913, allocations: 83.69 kB / 0.987 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000296/0.2916, allocations: 111.6 kB / 0.9871 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.237e-05/0.2916, allocations: 8 kB / 0.9871 GB, free: 5.336 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004496/0.2921, allocations: 215.6 kB / 0.9874 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.2922, allocations: 63.81 kB / 0.9874 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.2923, allocations: 75.59 kB / 0.9875 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004939/0.2928, allocations: 291 kB / 0.9878 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2929, allocations: 0 / 0.9878 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2929, allocations: 0 / 0.9878 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.747e-06/0.2929, allocations: 0 / 0.9878 GB, free: 4.703 MB / 0.7136 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.000831/0.2937, allocations: 471.2 kB / 0.9882 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.2938, allocations: 12.03 kB / 0.9882 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005538/0.2943, allocations: 64.67 kB / 0.9883 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/0.2946, allocations: 226.2 kB / 0.9885 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.2946, allocations: 8.656 kB / 0.9885 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.307e-05/0.2947, allocations: 20.36 kB / 0.9885 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004199/0.2951, allocations: 283.6 kB / 0.9888 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.2951, allocations: 0 / 0.9888 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.872e-05/0.2952, allocations: 8 kB / 0.9888 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-05/0.2952, allocations: 28.09 kB / 0.9888 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003272/0.2956, allocations: 208.5 kB / 0.989 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001796/0.2974, allocations: 1.576 MB / 0.9906 GB, free: 1.574 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004498/0.2978, allocations: 319.3 kB / 0.9909 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.2979, allocations: 61.69 kB / 0.9909 GB, free: 1.141 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.298, allocations: 0 / 0.9909 GB, free: 1.141 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/0.298, allocations: 46.62 kB / 0.991 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.298, allocations: 0 / 0.991 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0006556/0.2987, allocations: 248.6 kB / 0.9912 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.124e-05/0.2988, allocations: 81.3 kB / 0.9913 GB, free: 0.7383 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002337/0.299, allocations: 195.5 kB / 0.9915 GB, free: 0.5352 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.299, allocations: 25.7 kB / 0.9915 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.2992, allocations: 155.7 kB / 0.9917 GB, free: 356 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.885e-05/0.2992, allocations: 39.39 kB / 0.9917 GB, free: 316 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.094e-05/0.2993, allocations: 49.7 kB / 0.9917 GB, free: 260 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.2995, allocations: 322.8 kB / 0.992 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.2996, allocations: 72.81 kB / 0.9921 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001944/0.2998, allocations: 155 kB / 0.9923 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003216/0.3001, allocations: 234.9 kB / 0.9925 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3001, allocations: 3.938 kB / 0.9925 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004961/0.3007, allocations: 273.4 kB / 0.9928 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/0.3007, allocations: 6.656 kB / 0.9928 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.3007, allocations: 4 kB / 0.9928 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.3007, allocations: 7.938 kB / 0.9928 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002321/0.301, allocations: 47.91 kB / 0.9928 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.301, allocations: 4 kB / 0.9928 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/0.3012, allocations: 15.98 kB / 0.9928 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.3012, allocations: 12 kB / 0.9928 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001732/0.3014, allocations: 164.1 kB / 0.993 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001457/0.3015, allocations: 148 kB / 0.9931 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000236/0.3018, allocations: 223.7 kB / 0.9934 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.026e-06/0.3018, allocations: 0 / 0.9934 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003328/0.3021, allocations: 233.5 kB / 0.9936 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.3021, allocations: 11.98 kB / 0.9936 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3021, allocations: 8.406 kB / 0.9936 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.36e-06/0.3022, allocations: 4 kB / 0.9936 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.3023, allocations: 39.98 kB / 0.9936 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/0.3023, allocations: 15.86 kB / 0.9937 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.3025, allocations: 12.05 kB / 0.9937 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.3025, allocations: 11.98 kB / 0.9937 GB, free: 14.07 MB / 0.7292 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001718/0.3027, allocations: 201.7 kB / 0.9939 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.144e-05/0.3028, allocations: 19.84 kB / 0.9939 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000297/0.3031, allocations: 143 kB / 0.994 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.3031, allocations: 3.938 kB / 0.994 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.3031, allocations: 3.938 kB / 0.994 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.3031, allocations: 4 kB / 0.994 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.3042, allocations: 0.7234 MB / 0.9947 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.3043, allocations: 4 kB / 0.9948 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.3044, allocations: 23.98 kB / 0.9948 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.3044, allocations: 0 / 0.9948 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.3044, allocations: 4.344 kB / 0.9948 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-06/0.3044, allocations: 11.94 kB / 0.9948 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.3044, allocations: 4 kB / 0.9948 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000785/0.3052, allocations: 0.9883 MB / 0.9958 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.3053, allocations: 108.9 kB / 0.9959 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.808e-05/0.3054, allocations: 11.88 kB / 0.9959 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/0.3055, allocations: 11.98 kB / 0.9959 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.823e-05/0.3056, allocations: 12 kB / 0.9959 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.3056, allocations: 7.938 kB / 0.9959 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000131/0.3057, allocations: 156.8 kB / 0.9961 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.3057, allocations: 0 / 0.9961 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007116/0.3065, allocations: 68 kB / 0.9961 GB, free: 11.38 MB / 0.7292 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001596/0.3066, allocations: 119 kB / 0.9962 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004082/0.307, allocations: 260.9 kB / 0.9965 GB, free: 11 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/0.3071, allocations: 8 kB / 0.9965 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.627e-05/0.3072, allocations: 60.34 kB / 0.9965 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004733/0.3076, allocations: 30.98 kB / 0.9966 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009694/0.3086, allocations: 0.6034 MB / 0.9972 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.309, allocations: 0.7402 MB / 0.9979 GB, free: 9.469 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002133/0.3092, allocations: 73.47 kB / 0.998 GB, free: 9.395 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.933e-05/0.3092, allocations: 19.44 kB / 0.998 GB, free: 9.375 MB / 0.7292 GB Notification: Performance of SimCode: time 4.81e-07/0.3092, allocations: 0 / 0.998 GB, free: 9.375 MB / 0.7292 GB Notification: Performance of Templates: time 0.005604/0.3149, allocations: 1.741 MB / 0.9997 GB, free: 7.637 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (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)